/* General Styles */
* { 
    box-sizing: border-box; 
}

/* --- NIHAl'S BRAND COLORS --- */
:root {
    --color-primary-brown: #1a1835; /* Dark/Rich Brown (Used for Header/Footer) */
    --color-secondary-brown: #8B4513; /* Mid Brown (Used for Headings/Accents) */
    --color-accent-gold: #DAA520; /* Golden Color (Used for Buttons/Highlights) */
    --color-background-light: #FDFCFB; /* Main body background */
    --color-text-dark: #333; /* Main text color */
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text-dark);
    background: var(--color-background-light);
}

a { 
    color: inherit; 
}

/* Header/Topbar */
.topbar {
    background: var(--color-primary-brown); 
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.topbar h1 {
    font-size: 20px;
    margin: 0;
    letter-spacing: 0.5px;
}

.topbar nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 14px;
    font-weight: 600;
}

.topbar nav a:hover {
    text-decoration: underline;
}

/* Hero Section (Home Page Banner) */
.hero {
    min-height: 60vh;
    /* PHOTO HAS BEEN CHANGED AS YOU REQUESTED */
    background: url('images/homepage_backround.jpg') center/cover no-repeat;
    display: grid;
    place-items: center;
    text-align: center;
}

.hero-inner {
    background: rgba(0,0,0,0.45);
    color: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    backdrop-filter: blur(2px);
}

.hero h2 {
    margin: 0 0 8px;
    font-size: 32px;
}

.hero p {
    margin: 0 0 16px;
}

/* Button */
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    background: var(--color-accent-gold); /* Golden Color from variable */
    color: var(--color-text-dark);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s; /* Added smooth transition */
}

.btn:hover {
    filter: brightness(0.95);
}

/* Content Sections */
.intro {
    padding: 28px 16px;
    max-width: 900px;
    margin: 0 auto;
}

.intro h3 {
    margin-top: 0;
}

.intro ul {
    line-height: 1.8;
}

.grid {
    padding: 28px 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h2 {
    margin: 12px 16px 0;
    font-size: 18px;
}

.card p {
    margin: 8px 16px 18px;
    color: #444;
}

/* Footer */
footer {
    background: var(--color-primary-brown); /* Dark Brown from variable */
    color: #cbd5e1;
    text-align: center;
    padding: 18px;
    margin-top: 28px;
}

/* Small screen tweaks */
@media (max-width: 480px) {
  .hero h2 {
    font-size: 24px;
  }
}