:root {
    --primary: #2563eb;
    --dark: #1e293b;
    --light: #ccdef0;
    --accent: #3b82f6;
    --text: #334155;
    --white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 20px;
}

.bg-light {
    background: var(--light);
}

.h3 {
    font-size: 28px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--dark);
}

.logo span {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: 0.3s;
    font-size: 1rem;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(30, 41, 59, 0.9)),
        url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.top.container h3 {
    font-size: 28px;
}


.top {
    padding: 34px 50px;
    text-align: center;
}

h3.top{
    font-size: 28px;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/*Top Works*/
.margin {
    margin-top: 8rem;
}

.center {
    text-align: center;
}

.top-works {
    position: relative;
    overflow: hidden;

}

.top-works .slides {
    display: flex;
    will-change: transform;
    /* default animation, duration will be set by JS based on item count */
    animation: scroll 12s linear infinite;
}

.top-works .slide {
    /* show multiple slides at once (4 visible by default) */
    min-width: 25%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 0 12px;
}

.top-works .slide img {
    object-fit: cover;
    width: 22rem;
    height: 38rem;
    object-position: top;
    display: block;
    border-radius: 6px;
}

@media (max-width: 992px) {
    .top-works .slide {
        min-width: 33.3333%;
    }

    .top-works .slide img {
        height: 42rem;
    }
}

@media (max-width: 768px) {
    .top-works .slide {
        min-width: 50%;
    }

    .top-works .slide img {
        height: 42rem;
        object-fit: cover;
        width: 20rem;
    }
}

@media (max-width: 480px) {
    .top-works .slide {
        min-width: 75%;
    }

    .top-works .slide img {
        height: 42rem;
    }
}

/* continuous scroll keyframes: translate exactly one set (50%) when items are duplicated */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* pause animation when hovering the carousel */
/* .top-works.carousel:hover .slides {
    animation-play-state: paused;
} */

/* Product Cards */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #edf2f7;
}

.card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Page Titles */
.page-title {
    padding: 50px 0;
    text-align: center;
}

.page-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

/* Pricing Table */
.pricing-container {
    display: flex;
    justify-content: center;
}

.pricing-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    width: 100%;
    border: 2px solid var(--primary);
}

.pricing-card .header {
    text-align: center;
    margin-bottom: 25px;
}

.offer {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.offer span {
    font-size: 0.9rem;
    color: #666;
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0;
}

.pricing-card ul li {
    padding: 6px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.pricing-card ul li i {
    color: #10b981;
    margin-right: 10px;
}

.maintenance {
    background: #eff6ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
}

.maintenance h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.maintenance ul li i {
    color: var(--primary);
}

/* Forms */
.form-group {
    margin-bottom: 15px;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.map-placeholder {
    height: 250px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-top: 15px;
    color: #64748b;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 5px 0;
    text-align: center;
    margin-top: 60px;
}

/* MOBILE & TABLET RESPONSIVENESS */

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
  .section {
        padding: 40px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    .nav-links li {
        margin-left: 0;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        max-width: 250px;
    }

    .btn-primary {
        width: 100%;
        max-width: 250px;
    }

    .page-title h2 {
        font-size: 1.8rem;
    }

    .pricing-card {
        padding: 25px;
    }

    .offer {
        font-size: 2rem;
    }

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

    @keyframes scroll {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(-50%);
    }
}




}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.4rem;
    }
}

.thanx_h3 {
    text-align: center;
}