html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #EAE6E4; 
    font-family: 'Lora', serif;
    font-weight: 400!important;
    text-align: center;
    font-size: 14px;
    color: #4B2E2A; 
    overflow-x: hidden;
}

#header {
    background-image: url('images/head.jpg'), url('images/bg1.jpg');
    background-repeat: no-repeat, repeat-x;
    background-position: center; 
    height:693px;
    width:100%;
    margin-top:-5px;
}

h1 {
    position: relative;
    opacity:0.95;
    display: inline-block;
    padding: 16px 36px;
    margin: 60px auto 30px;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 23px;
    letter-spacing: 5px;
    color: #3B1F0F; 
    background: linear-gradient(135deg, #E0F4FF 0%, #A8DDFD 60%, #78C0EB 100%);
    border-radius: 12px 12px 6px 6px;
    box-shadow: 0 6px 15px rgba(120, 100, 90, 0.25);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

h1:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(120, 100, 90, 0.4);
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-style: italic;
    padding: 30px 40px;
    margin: 40px auto;
    width: 70%;
    max-width: 700px;
    color: #4B2E2A; /* dark chocolate */
    background: linear-gradient(135deg, #FFF8F0, #E0F4FF);
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(180, 160, 140, 0.25);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    text-align: center;
    backdrop-filter: blur(6px);
}

blockquote:hover {
    transform: scale(1.02);
}

blockquote::before, blockquote::after {
    content: '“';
    font-size: 60px;
    color: rgba(75, 46, 42, 0.3);
    position: absolute;
    font-family: 'Lora', serif;
}

blockquote::after {
    content: '”';
    bottom: -20px;
    right: 20px;
}

blockquote::before {
    top: -20px;
    left: 20px;
}

.content {
    width: 50%;
    margin: 40px auto;
    padding: 0 20px;
    text-align: justify;
    font-family: 'Lora', serif;
    color: #4B2E2A; 
    line-height: 1.6; 
}

#navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    background: linear-gradient(
        135deg,
        #FFF8F0 0%,      
        #E0F4FF 60%,     
        #A8DDFD 100%     
    );
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 15px rgba(120, 100, 90, 0.15);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(180, 150, 130, 0.7);
    text-align: center;
    z-index: 999;
    transition: background 0.4s ease;
}

#navigation a {
    display: inline-block;
    position: relative;
    font-family: 'Lora', serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #4B2E2A;
    margin: 0 14px;
    padding: 12px 20px;
    border-radius: 999px;
    letter-spacing: 1.5px;
    transition: all 0.5s ease;
    overflow: hidden;
}

#navigation a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: #A8DDFD;
    transition: width 0.4s ease;
}

#navigation a:hover::before {
    width: 80%;
}

#navigation a:hover {
    color: #78C0EB;
    box-shadow: none;
}

.contentx {
    background: linear-gradient(
        145deg,
        #FFF8F0 0%,      
        #E0F4FF 60%,   
        #A8DDFD 100%    
    ),
    radial-gradient(
        circle at top left,
        rgba(255, 248, 240, 0.6),
        rgba(224, 244, 255, 0.3)
    );
    padding: 40px;
    border-radius: 40px;
    font-size: 18px;
    font-family: 'Lora', serif;
    color: #4B2E2A;
    text-align: justify;
    box-shadow:
        0 8px 50px rgba(120, 100, 90, 0.07),
        inset 0 0 30px rgba(255, 248, 240, 0.2);
    backdrop-filter: blur(14px);
    margin-bottom: 40px;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 6px 6px;
    text-shadow: none; 
    opacity:0.7;
}

.contentx::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at center, rgba(255, 248, 240, 0.25), transparent 60%);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.contentx > * {
    position: relative;
    z-index: 1;
}

.contentx input,
.contentx textarea,
.contentx select {
    width: 40%;
    max-width: 350px;     
    padding: 10px 14px;    
    margin: 12px 0;      
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;       
    color: #4B2E2A;
    background: linear-gradient(145deg, #FFF8F0, #E0F4FF);
    border: 1px solid rgba(160, 120, 100, 0.25);
    border-radius: 12px;
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    caret-color: #78C0EB;
}

.contentx button {
    background: linear-gradient(145deg, #A8DDFD, #78C0EB);
    border: 1.5px solid rgba(120, 100, 90, 0.6);
    border-radius: 12px;
    padding: 8px 20px;     
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 16px;         
    color: #4B2E2A;
    cursor: pointer;
    box-shadow: 0 3px 7px rgba(173, 140, 120, 0.4); 
    transition: all 0.3s ease;
}

.contentx button:hover,
.contentx button:focus {
    background: linear-gradient(145deg, #78C0EB, #5A3F32);
    border-color: rgba(100, 80, 60, 0.8);
    color: #341A0F;
    box-shadow: 0 5px 12px rgba(120, 80, 60, 0.6), 0 0 6px rgba(173, 140, 120, 0.6);
    outline: none;
}

.contentx button:active {
    background: linear-gradient(145deg, #5A3F32, #4B2E2A);
    box-shadow: inset 0 3px 8px rgba(30, 20, 15, 0.6);
    color: #341A0F;
    transform: translateY(1px);
}

#footer {
    background: linear-gradient(135deg, #FFF8F0 0%, #E0F4FF 60%, #A8DDFD 100%);
    color: #4B2E2A;
    text-align: center;
    padding: 70px 30px;
    margin-top: 80px;
    border-top: 4px double #78C0EB;
    clip-path: polygon(
      0 50px, 12% 45px, 25% 55px, 38% 48px, 50% 60px, 62% 50px,
      75% 58px, 88% 50px, 100% 60px, 100% 100%, 0 100%
    );
    box-shadow:
      inset 0 10px 20px rgba(120, 100, 90, 0.1),
      0 10px 15px rgba(120, 80, 60, 0.15);
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;opacity:0.6;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

#footer a {
    color: #5A3F32;
    text-decoration: none;
    border-bottom: 1.5px dashed #78C0EB;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 600;
}

#footer a:hover {
    color: #341A0F;
    border-bottom: 1.5px solid #5A3F32;
    text-shadow: 0 0 10px rgba(120, 80, 60, 0.7);
    cursor: pointer;
}

.content a,
.content b,
.content i {
    position: relative;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1.5px;
    line-height: 1.6;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, #1E90FF, #4B2E2A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.content a::after,
.content b::after,
.content i::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(135deg, #1E90FF, #4B2E2A);
    opacity: 1;
    transition: all 0.3s ease;
}

.content a:hover::after,
.content b:hover::after,
.content i:hover::after {
    transform: scaleX(1.05);
}

.content a:hover,
.content b:hover,
.content i:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}