/* ===== Siddipet Hub Professional CSS ===== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f7fb;
    color:#333;
    line-height:1.6;
}

/* Header */

header{
    background:#0d47a1;
    color:#fff;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    position:static;
    top:0;
    z-index:1000;
}

.logo img {
    width: 180px;
    height: auto;
    display: block;
}
.logo span{
    color:#ffd54f;
}

nav ul{
    list-style:none;
    display:flex;
    gap:20px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#ffd54f;
}

/* Search */

.search-box input{
    padding:10px 15px;
    width:250px;
    border:none;
    border-radius:30px;
}

/* Hero */

.hero{
    background:linear-gradient(135deg,#1565c0,#42a5f5);
    color:white;
    text-align:center;
    padding:80px 20px;
}

.hero h1{
    font-size:45px;
    margin-bottom:15px;
}

.hero p{
    font-size:20px;
}

.btn{
    display:inline-block;
    margin-top:25px;
    background:#ff9800;
    color:white;
    padding:12px 28px;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
}

.btn:hover{
    background:#ef6c00;
}

/* Sections */

section{
    padding:60px 8%;
}

.section-title{
    text-align:center;
    font-size:35px;
    margin-bottom:35px;
    color:#0d47a1;
}

/* Cards */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.card h3{
    text-align:center;
    padding:15px;
    color:#0d47a1;
}

/* About */

.about{
    background:white;
    border-radius:15px;
    padding:35px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

/* Services */

.services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.service{
    background:white;
    text-align:center;
    padding:25px;
    border-radius:15px;
    box-shadow:0 4px 10px rgba(0,0,0,.1);
}

.service h3{
    color:#1565c0;
    margin-bottom:10px;
}

/* Contact */

.contact{
    background:white;
    border-radius:15px;
    padding:30px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.contact input,
.contact textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:8px;
}

.contact button{
    background:#1565c0;
    color:white;
    border:none;
    padding:12px 25px;
    border-radius:8px;
    cursor:pointer;
}

.contact button:hover{
    background:#0d47a1;
}

/* Footer */

footer {
    background: #0d47a1;
    color: white;
    text-align: center;
    padding: 20px 12px;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

footer p {
    margin: 8px 0;
    line-height: 1.6;
}

footer a {
    color: white;
    overflow-wrap: anywhere;
}

/* Responsive */

@media (max-width: 600px) {

    .town-header h1 {
        font-size: 30px;
    }

    .town-header p {
        font-size: 16px;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 8px;
    }

    .category-card {
        padding: 14px 4px;
        min-width: 0;
        box-sizing: border-box;
    }

    .category-card h3 {
        font-size: 14px;
        line-height: 1.2;
    }

}
body {
    overflow-x: hidden;
}

footer {
    width: 100%;
    box-sizing: border-box;
}