/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f7f7f7;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.top-bar {
    background: #1d2939;
    color: #fff;
    font-size: 0.9rem;
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

/* Header / Navigation */
header {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo-main {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ee6c2c;
    letter-spacing: 1px;
}

.logo-sub {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #1d2939;
}

nav a {
    margin-left: 18px;
    text-decoration: none;
    font-size: 0.95rem;
    color: #1d2939;
    font-weight: 500;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #ee6c2c;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 420px;
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                      url(image/home\ page\ 3.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.3rem;
    max-width: 600px;
    margin-bottom: 14px;
}

.hero p {
    max-width: 650px;
    font-size: 1rem;
    margin-bottom: 22px;
}

.btn-primary {
    display: inline-block;
    background: #ee6c2c;
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: #cf581c;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.3);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Sections */
.section {
    padding: 60px 0;
    background: #f7f7f7;
}

.section.grey {
    background: #eef1f6;
}

.section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #1d2939;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 35px auto;
    color: #555;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.text p {
    margin-bottom: 12px;
}

/* Image Placeholder / Card */
.image-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.image-placeholder {
    background: repeating-linear-gradient(
        135deg,
        #d3d9e6,
        #d3d9e6 8px,
        #eef1f6 8px,
        #eef1f6 16px
    );
    border-radius: 6px;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-placeholder.small {
    height: 160px;
}

.image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 18px 16px 20px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-top: 3px solid #ee6c2c;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #1d2939;
}

.service-card p {
    font-size: 0.92rem;
    color: #555;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}

.gallery-item img {
  width: 100%;
  display: block;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.img-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #f9fafb;
  font-size: 0.85rem;
}

/* Policies */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.policy-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 14px 18px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.policy-card h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: #1d2939;
}

.policy-card p {
    font-size: 0.9rem;
    color: #555;
}

/* Contact */
.contact-list {
    list-style: none;
    margin-top: 12px;
}

.contact-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 18px 16px 20px 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.contact-form-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Form */
.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #cbd2e1;
    font-size: 0.9rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ee6c2c;
    box-shadow: 0 0 0 1px rgba(238,108,44,0.15);
}

.form-note {
    font-size: 0.8rem;
    color: #777;
    margin-top: 6px;
}

/* Footer */
footer {
    background: #1d2939;
    color: #dfe4f0;
    padding: 18px 0;
    margin-top: 10px;
}

.footer-content {
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .policy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    nav a {
        margin-left: 0;
        margin-right: 14px;
    }

    .hero {
        height: auto;
        padding: 70px 0 60px 0;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .policy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .top-bar .container {
        justify-content: center;
    }
}
