/* ================================
   ROOT VARIABLES
================================ */
:root {
    --primary: #00943c;
    --secondary: #000000;
    --light-bg: #f4f6f9c0;
    --text: #222;
    --max-width: 1100px;
}

/* ================================
   GLOBAL RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* height of your navbar */
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text);
    line-height: 1.7;
}

/* ================================
   TYPOGRAPHY
================================ */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary);
}

h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.4rem; margin-bottom: 20px; }
h3 { font-size: 1.9rem; margin-bottom: 35px; }
h4 { font-size: 1.2rem; margin-bottom: 10px; }
p { margin-bottom: 15px; }

/* ================================
   LAYOUT
================================ */
.section-padding {
    padding: 60px 0 80px 0;
}
/* ================================
   NAVIGATION
================================ */
.navbar {
    background: var(--primary) !important;
}

.navbar .nav-link {
    color: white !important;
    margin-left: 25px;
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar .nav-link:hover {
    opacity: 0.75;
}

.navbar-brand {
    color: white !important;
    font-family: 'Playfair Display', serif;
}

.navbar #lang-select {
    min-width: auto;
    width: auto;
    flex-shrink: 1;
    margin-left: 10px;
    color: var(--primary);
}

/* ================================
   HERO
================================ */
.hero {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
    transform: scale(1.03) translateY(-8px);
    transition: filter 0.1s linear;
    will-change: filter;
    position: fixed;
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: -1;
}
.hero h1, .hero h2 { color: white; }
.hero img { width: auto; max-width: 512px; margin-bottom: 25px; max-height: 128px;}


/* ================================
   CONTENT
================================ */
main#content {
    position: relative;
    background: var(--light-bg);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* ================================
   SECTION TITLES
================================ */
.section-title { border-left: 6px solid var(--secondary); padding-left: 15px; }

/* ================================
   CARDS
================================ */
.card {
    background: white;
    padding: 35px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* ================================
   COLLAPSIBLE (DETAILS)
================================ */
details { margin-top: 15px; border-top: 1px solid #ddd; padding-top: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 10px 0; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: " +"; font-weight: bold; }
details[open] summary::after { content: " −"; }
details ul { padding-left: 20px; margin-top: 10px; }
details li { margin-bottom: 8px; }

details[open] > *:not(summary) {
    animation: reveal 0.6s ease forwards;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   TABLE (FEES)
================================ */
.fee-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.fee-table td { padding: 12px 10px; border-bottom: 1px solid #ddd; }

/* ================================
   LINKS
================================ */
a {
    display: inline-block;
    position: relative;          /* for ::after positioning */
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.25s ease-in-out;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s ease;
}

a:hover {
    opacity: 0.5;
}

a:hover::after {
    width: 100%;
}

/* ================================
   FOOTER
================================ */
footer a {
    color: var(--secondary);
}

footer a::after {
    background: var(--secondary);
}

footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
}
footer p { margin-bottom: 8px; }

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
	.hero { padding: 100px 20px; }
	h1 { font-size: 1.8rem; }
	h3 { font-size: 1.5rem; }
}

/* ================================
   PRINT VERSION
================================ */
@media print {
	nav, .btn { display: none; }
	body { background: white; }
	.card { box-shadow: none; }
}
