#header {
    background-image: url('images/head.jpg'),url('images/bg1.jpg');
    background-repeat: no-repeat,repeat-x;
    background-position: center;
    height: 623px;
    width: 100%;
    position: relative;
    z-index: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Special+Elite&display=swap');

body {
    background: #AAD1EF;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #E0E8F0;
    overflow-x: hidden;
}

.footer-spacer {
    height: 60px;
}

#navigation {
    width: 90%;
    margin: -10px auto 60px;
    padding: 28px 40px;
    font-family: 'Cinzel Decorative', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    background: linear-gradient(
        135deg,
        rgba(173, 216, 230, 0.35),
        rgba(127, 255, 212, 0.25),
        rgba(178, 255, 223, 0.2)
    );
    backdrop-filter: blur(12px);
    border-radius: 48px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s ease-in-out;
}

#navigation a {
    position: relative;
    overflow: hidden;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1E3D3D;
    background: linear-gradient(
        135deg,
        rgba(173, 216, 230, 0.25),
        rgba(127, 255, 212, 0.25)
    );
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-family: 'Special Elite', serif;
    text-decoration: none;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

#navigation a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(173, 216, 230, 0.3) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    transition: 0.5s;
    z-index: 0;
}

#navigation a:hover::before {
    left: 100%;
    transition: 0.8s ease-in-out;
}

#navigation a::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(127, 255, 212, 0.5);
    border-radius: 50%;
    pointer-events: none;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.8s ease;
}

#navigation a:hover::after {
    transform: scale(12);
    opacity: 0;
}

#navigation a span {
    position: relative;
    z-index: 2;
}

#layout-container {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
    margin-top: -180px;
}

#content {
    opacity: 0.95;
    width: 68%;
    max-width: 1000px;
    margin: 0px auto;
    padding: 40px;
    border-radius: 18px;
    color: #ffffff;
    background: none;
    box-shadow: none;
}

.contentx {
    background-image: url(images/cont.png);
    background-repeat: no-repeat;
    margin-bottom: 60px;
    padding: 35px;
    text-align: justify;
    font-size: 17px;
    line-height: 1.8;
    letter-spacing: 1px;
    border-radius: 16px;
    color: #12343B;
}

h1 {
    position: relative;
    overflow: hidden;
    font-family: 'Cinzel Decorative', serif;
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    color: #1E3D3D;
    margin: 80px auto 40px;
    padding: 20px 40px;
    max-width: 800px;
    background: rgba(173, 216, 230, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-shadow: 1px 1px 0 #A8E5E5,
                 2px 2px 6px rgba(0, 0, 0, 0.25);
}

h1::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 240%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(173, 216, 230, 0.3) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    transition: 0.6s ease-in-out;
    z-index: 0;
}

h1:hover::before {
    left: 120%;
}

h1::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(127, 255, 212, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: scale(0) translate(-50%, -50%);
    opacity: 0;
    transition: transform 0.8s ease, opacity 1s ease;
}
h1:hover::after {
    transform: scale(18) translate(-50%, -50%);
    opacity: 0;
}

blockquote {
    position: relative;
    overflow: hidden;
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #1E3D3D;
    background: rgba(173, 216, 230, 0.25);
    padding: 40px 50px;
    margin: 60px auto;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    max-width: 900px;
    text-align: center;
}

blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 240%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(173, 216, 230, 0.3) 50%,
        rgba(255, 255, 255, 0.15) 100%
    );
    transition: 0.6s ease-in-out;
    z-index: 0;
}

blockquote:hover::before {
    left: 120%;
}

blockquote::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(127, 255, 212, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: scale(0) translate(-50%, -50%);
    opacity: 0;
    transition: transform 0.8s ease, opacity 1s ease;
}
blockquote:hover::after {
    transform: scale(22) translate(-50%, -50%);
    opacity: 0;
}

h1 span,
blockquote span {
    position: relative;
    z-index: 2;
}

textarea,
input,
select {
    width: 40%;
    max-width: 600px;
    padding: 16px 20px;
    margin: 20px 0;
    font-family: 'Special Elite', serif;
    font-size: 16px;
    color: #0E2F2F;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease-in-out;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #40E0D0;
    background: rgba(178, 255, 223, 0.35);
}

#footer a,
a {
    color: #0E2F2F;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

a:hover {
    background: rgba(178, 255, 223, 0.4);
    transform: translateY(-2px);
}

i, em {
    color: #0E2F2F;
    font-style: italic;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
    background: rgba(173, 216, 230, 0.2);
    padding: 2px 5px;
    border-radius: 4px;
}

b, strong {
    color: #1E3D3D;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    background-color: rgba(178, 255, 223, 0.25);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}
