body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f9fc;
    color: #222;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    padding-top: 120px;
}

/* Top Header Styles */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.99);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
    z-index: 100;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.05);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: nowrap;
    gap: 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 0 0 auto;
}

.logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-right: 0;
    vertical-align: middle;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #005028;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #231F20;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding: 0.2rem 0;
    transition: color 0.2s;
}

.nav-links a.active,
.nav-links a:hover {
    color: #D12027;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-links a.active {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #D12027;
    font-weight: 600;
}

/* Auth & Action Buttons */
.navbar-actions {
    display: flex;
    gap: 1.3rem;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: 2.5rem; 
}

.navbar-btn {
    border-radius: 9999px;
    padding: 0.6rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    outline: none;
    border: none;
    background: #005028;
    color: #fff;
    cursor: pointer;
    transition: background .2s, color .2s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: none;
}

.navbar-btn.enquire-btn,
.navbar-btn.login-btn,
.navbar-btn.signup-btn {
    background: #005028;
}

.navbar-btn.enquire-btn:hover,
.navbar-btn.login-btn:hover,
.navbar-btn.signup-btn:hover {
    background: #D12027;
}

.navbar-btn i {
    font-size: 1.1em;
}

.hero.small-hero {
    background: 
        linear-gradient(rgba(15, 32, 39, 0.8), rgba(32, 58, 67, 0.8)),
        url('../Img/koma/koma1.jpg') center/cover no-repeat;
    color: #fff;
    padding: 3rem 0 2rem 0;
    text-align: center;
}

.hero .container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero p {
    font-size: 1.13rem;
    margin-bottom: 0;
    opacity: 0.97;
}

.hero-cta {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #D12027;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.hero-cta:hover {
    background-color: #a8171c;
    transform: translateY(-2px);
}

.hero-cta i {
    margin-right: 0.5rem;
}

/* For the smaller tip buttons inside the ul */
.hero-tips ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.hero-tips li {
    display: inline-block;
}

.hero-cta.small-cta {
    padding: 0.8rem 2rem;
    background-color: #D12027;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.hero-cta.small-cta:hover {
    background-color: #a8171c;
    transform: translateY(-2px);
}

.checklist-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.guide-step {
    background: #fdfdfd;
    padding: 1.6rem 1.3rem;
    margin-bottom: 1.8rem;
    border-left: 5px solid #005028;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.guide-step h2 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #00331b;
}

.back-link {
    text-align: center;
    margin-top: 2rem;
    font-weight: 500;
}

.back-link a {
    color: #D12027;
}

/* Responsive hero tips */
@media (max-width: 600px) {
    .hero-tips ul {
        flex-direction: column;
        align-items: center;
    }
}

/* Duplicate .hero-cta block removed (was conflicting) */

/* Hero tips list and tip description */
.hero-tips-list {
    list-style: none;
    padding-left: 0;
}

.hero-tip-item {
    margin-bottom: 15px;
}

.tip-description {
    padding: 10px 15px;
    background-color: #f1f1f1;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.5;
}

.hidden {
    display: none;
}

/* Section content */
.section {
    background: #fff;
    margin: 2rem auto;
    border-radius: 10px;
    max-width: 760px;
    box-shadow: 0 4px 18px 0 rgba(0,0,0,0.09);
    padding: 2.5rem 2rem;
}

.section .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

.section h2 {
    color: #005028;
    font-size: 1.4rem;
    margin-top: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.section h3 {
    color: #0074a6;
    font-size: 1.13rem;
    margin-top: 1.5rem;
    margin-bottom: 0.3rem;
}

.section p, .section ul, .section li {
    font-size: 1.05rem;
}

.section ul {
    margin: 1.2rem 0 1.5rem 1.5rem;
    padding: 0;
}

.section li {
    margin-bottom: 0.7em;
    list-style: disc;
}

.section a {
    color: #D12027;
    text-decoration: underline;
    transition: color 0.18s;
}

.section a:hover {
    color: #005028;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #005028;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #D12027;
}

.faq-question i {
    font-size: 1rem;
    color: #D12027;
    transition: transform 0.2s ease;
}

.faq-answer {
    font-size: 1.05rem;
    color: #333;
    margin-top: 0.5rem;
    padding-left: 1.8rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.hidden {
    display: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer:not(.hidden) {
    max-height: 300px;
}

/* --- FOOTER --- */
.modern-footer {
    background: #F1F1F1;
    color: #231F20;
    text-align: center;
    padding: 2.5rem 0 1rem 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.1rem;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 1rem;
}
.footer-col {
    text-align: center;
}
.footer-heading {
    font-weight: bold;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    margin-top: 0.5rem;
}
.footer-social a {
    color: #231F20;
    font-size: 1.5rem;
    transition: color 0.18s, transform 0.18s;
}
.footer-social a:hover {
    color: #D12027;
    transform: scale(1.18);
}
.footer-bottom {
    color: #58595B;
    font-size: 1rem;
    margin-top: 1.2rem;
    text-align: center;
}


@media (max-width: 700px) {
    .header-top-content { flex-direction: column; gap: 1rem; }
    .logo img { width: 120px; height: 120px; }
    .logo span { font-size: 1.1rem; }
    .nav-links { gap: 1rem; flex-direction: column; }
    .navbar-actions { gap: 0.7rem; flex-direction: column; }
    .navbar-btn { padding: 0.6rem 1rem; font-size: 0.96rem; }
    .section { max-width: 100vw; margin: 1rem 0.2rem; padding: 1.1rem 0.6rem; }
    .section .container { max-width: 100vw; }
    .footer-container { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 600px) {
    .hero.small-hero {
        padding: 1.3rem 0 1.1rem 0;
    }
    .hero h1 {
        font-size: 1.45rem;
    }
    .section {
        padding: 1rem 0.7rem;
        margin: 1.1rem 0.3rem;
    }
    .section h2, .section h3 {
        font-size: 1.05rem;
    }
    .guide-step {
        padding: 1rem 0.7rem;
    }
}

/* --- Hamburger Styles --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
    padding: 0;
    margin-right: 12px;
}
.hamburger .bar {
    height: 4px;
    width: 28px;
    margin: 4px auto;
    background: #231F20;
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}
.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hide nav, show hamburger on screens smaller than a tablet --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 80px; /* below header */
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 8px 32px rgba(32, 58, 67, 0.13);
        z-index: 1100;
        transform: translateY(-120%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        opacity: 0;
        pointer-events: none;
        flex-direction: column;
        align-items: center;
        width: 100vw;
        padding: 2.5rem 0 2rem 0;
        min-height: 50vh;
        max-height: 90vh;
        overflow-y: auto;
    }
    .main-nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links {
        flex-direction: column;
        gap: 1.8rem;
        width: 100%;
        align-items: center;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        background: none;
        border-radius: 0;
        padding: 0.6rem 0;
        min-width: unset;
        width: 100%;
        gap: 1.4rem;
    }
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: flex;
    }
    @media (max-width: 768px) {
  .top-header {
    position: static !important;
    box-shadow: none !important;
    border-bottom: none !important;
  }
  body {
    padding-top: 0 !important; /* Remove extra space added for fixed header */
  }
}
}

@media (max-width: 700px) {
    .header-top-content {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    .main-nav {
        top: 65px;
    }
    .logo img { width: 120px; height: 120px; }
    .logo span { font-size: 1.1rem; }
}

/* Ensure nav is visible on desktop/tablet and hamburger hidden */
@media (min-width: 769px) {
    .main-nav {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        padding: 0 !important;
        min-height: unset !important;
        max-height: unset !important;
        overflow-y: visible !important;
        display: flex !important;
    }
    .hamburger {
        display: none !important;
    }
}

@media (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; justify-content: center; margin-top: 1.5rem; gap: 1rem; }
}
@media (min-width: 769px) {
  .desktop-only { display: flex !important; }
  .mobile-only { display: none !important; }
}