html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #d9f3ff;
    background-image: url("images/bg.jpg");
    background-repeat: repeat;
    font-family: 'Lora', serif;
    font-weight: 400 !important;
    text-align: center;
    font-size: 14px;
    color: #2f3c44;
    overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: linear-gradient(
    rgba(173, 216, 230, 0.12),
    rgba(0, 0, 139, 0.10)     
  );

  z-index: 999;
  pointer-events: none;
}

#linklist ul {
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 20px;
}

#linklist ul li {
    width: 90%;
    box-sizing: border-box;
    margin: 0;
    padding: 25px 90px;
    background: linear-gradient(135deg, #D6ECFF, #B3D9FF);
    border-radius: 30px;
    text-align: center;
    font-style: italic;
    font-family: 'Lora', serif;
    color: #083B66;
    box-shadow: 0 6px 18px rgba(20, 60, 120, 0.15),
                0 0 10px rgba(100, 180, 255, 0.15);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
    position: relative;
    overflow: hidden;
}

#linklist ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(20, 60, 120, 0.25),
                0 0 20px rgba(100, 180, 255, 0.3);
    background: linear-gradient(135deg, #5FAEFF, #D6ECFF);
}

#linklist ul li::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(100, 180, 255, 0.2) 0%,
        transparent 70%
    );
    transform: rotate(45deg);
    pointer-events: none;
    transition: all 0.3s ease;
}

#linklist ul li:hover::before {
    opacity: 0.9;
}

#header {
    background-image: url('images/header.jpg'), url('images/bg1.jpg');
    background-repeat: no-repeat, repeat-x;
    background-position: left;
    height: 814px;
    width: 100%;
    margin-top: -5px;
}

.content {
    width: 67%;
    opacity: 0.92;
    margin: -120px 0 40px 40px;
    padding: 0 24px;
    text-align: justify;
    font-family: 'Lora', serif;
    color: #243840;
    line-height: 1.75;
    letter-spacing: 0.4px;
    font-size: 17px;
    border-left: 4px solid #4fa96b;
    padding-left: 20px;
    position: relative;
    background: rgba(230, 250, 255, 0.6);
    border-radius: 22px;
    box-shadow: 0 0 20px rgba(120,180,200,0.25);
}

.content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #ffdddd, #4fa96b);
    transform: rotate(45deg);
    border-radius: 2px;
    opacity: 0.85;
}

.content a,
.content b,
.content i {
    position: relative;
    font-family: 'Lora', serif;
    cursor: pointer;
    text-decoration: none;
    color: #d94c4c;
    transition: all 0.3s ease;
}

.content a:hover,
.content b:hover,
.content i:hover {
    background: linear-gradient(90deg, #ffffff, #ffd6d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 6px rgba(217, 76, 76, 0.45);
}

h1 {
    position: relative;
    opacity: 0.97;
    display: inline-block;
    padding: 22px 54px;
    margin: 70px 0 36px 40px;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 500;
    font-size: 32px;
    letter-spacing: 6px;
    color: #2f7a5a;
    background: linear-gradient(135deg, #f0fbff 0%, #cfefff 50%, #a6ddff 100%);
    border-radius: 50px 50px 24px 24px;
    box-shadow: 0 8px 24px rgba(80,140,170,0.3);
    text-shadow: 0 0 12px rgba(255,255,255,0.95);
    transition: all 0.4s ease;
}

h1:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 32px rgba(80,140,170,0.45);
}

.contentx {
    padding: 40px;
    border-radius: 36px;
    font-size: 18px;
    font-family: 'Lora', serif;
    color: #20333c;
    text-align: justify;
    margin: 0 0 46px 40px;
    background: rgba(240, 252, 255, 0.65);
    box-shadow: 0 0 25px rgba(120,180,200,0.25);
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

.contentx input,
.contentx textarea,
.contentx select {
    width: 100%;
    max-width: 360px;
    padding: 12px 16px;
    margin: 14px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    color: #1f2b30;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(79,169,107,0.4);
    border-radius: 14px;
    box-shadow: inset 3px 3px 10px rgba(0,0,0,0.05);
    caret-color: #d94c4c;
}

.contentx input:focus,
.contentx textarea:focus,
.contentx select:focus {
    outline: none;
    transform: scale(1.03);
    box-shadow: 0 0 10px rgba(217, 76, 76, 0.35);
}

.contentx button {
    background: linear-gradient(145deg, #4fa96b, #ffd6d6);
    border: 1.5px solid rgba(217, 76, 76, 0.5);
    border-radius: 14px;
    padding: 10px 24px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 16px;
    color: #20333c;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contentx button:hover {
    transform: scale(1.08);
    background: linear-gradient(145deg, #ffd6d6, #4fa96b);
    box-shadow: 0 8px 18px rgba(217, 76, 76, 0.3);
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 19px;
    padding: 40px 50px;
    margin: 40px 0 40px 40px;
    width: 70%;
    max-width: 720px;
    color: #2f7a5a;
    background: linear-gradient(120deg, #f0fbff, #cfefff);
    border-radius: 40px;
    box-shadow: 0 12px 28px rgba(80,140,170,0.25);
    position: relative;
    text-align: left;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease;
}

blockquote:hover {
    transform: scale(1.03);
}

blockquote::before,
blockquote::after {
    font-size: 60px;
    color: rgba(217, 76, 76, 0.25);
    position: absolute;
}

blockquote::before {
    content: "❝";
    top: -20px;
    left: 20px;
}

blockquote::after {
    content: "❞";
    bottom: -20px;
    right: 20px;
}

#side-nav {
    opacity: 0.9;
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.nav-toggle {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #e6f8ff, #a6ddff);
    border: 3px solid #3a78a8;
    clip-path: path("M80 0 C125 8, 160 55, 145 110 C130 165, 55 165, 15 110 C-8 55, 35 8, 80 0 Z");
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 10px 25px rgba(60, 120, 170, 0.25);
}

.nav-toggle:hover {
    transform: scale(1.12);
    background: linear-gradient(135deg, #cfefff, #5aa9dd);
    border-color: #245b85;
    box-shadow: 0 0 30px rgba(50, 120, 180, 0.45);
}

.nav-links {
    margin-top: 20px;
    background: rgba(240, 252, 255, 0.92);
    border-radius: 18px;
    padding: 16px 0;
    width: 220px;
    display: none;
    flex-direction: column;
    border: 2px solid rgba(79,169,107,0.45);
}

.nav-links a {
    padding: 14px 24px;
    font-size: 18px;
    color: #2f7a5a;
    text-decoration: none;
}

.nav-links a:hover {
    background: rgba(217, 76, 76, 0.12);
    border-radius: 10px;
}

#side-nav.active .nav-links {
    display: flex;
}

#footer {
    background: linear-gradient(135deg, #f0fbff, #cfefff, #4fa96b);
    color: #20333c;
    text-align: center;
    padding: 80px 36px;
    margin-top: 80px;
    border-top: 4px double rgba(217, 76, 76, 0.45);
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;opacity:0.6;
    clip-path: ellipse(100% 80% at 50% 100%);
}

#footer a {
    color: #d94c4c;
    text-decoration: none;
    border-bottom: 1.5px dashed rgba(79,169,107,0.5);
}

#footer a:hover {
    color: #4fa96b;
    text-shadow: 0 0 10px rgba(217, 76, 76, 0.4);
}

.footer-credit {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(47, 122, 90, 0.75);
    font-style: italic;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 13px;
    }

    #linklist ul li {
        width: 95%;
        padding: 20px 30px;
    }

    .content {
        width: 90%;
        margin: -100px 0 20px 20px;
        padding: 0 16px;
        font-size: 15px;
        line-height: 1.6;
    }

    h1 {
        font-size: 26px;
        padding: 16px 32px;
        margin: 50px 0 28px 20px;
        letter-spacing: 4px;
    }

    .contentx {
        padding: 30px;
        margin: 0 0 36px 20px;
        font-size: 16px;
    }

    .contentx input,
    .contentx textarea,
    .contentx select {
        max-width: 100%;
        font-size: 14px;
        padding: 10px 14px;
    }

    .contentx button {
        padding: 8px 20px;
        font-size: 14px;
    }

    blockquote {
        width: 90%;
        padding: 30px 40px;
        font-size: 17px;
        margin: 30px 0 30px 20px;
    }

    #side-nav {
        top: 15px;
        left: 15px;
    }

    .nav-toggle {
        width: 120px;
        height: 120px;
    }

    .nav-links {
        width: 180px;
        padding: 12px 0;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px 16px;
    }

    #footer {
        padding: 60px 24px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 12px;
    }

    #linklist ul li {
        width: 98%;
        padding: 18px 20px;
    }

    .content {
        width: 95%;
        margin: -80px 0 16px 10px;
        padding: 0 12px;
        font-size: 14px;
        line-height: 1.5;
    }

    h1 {
        font-size: 22px;
        padding: 14px 24px;
        margin: 40px 0 24px 10px;
        letter-spacing: 3px;
    }

    .contentx {
        padding: 24px;
        margin: 0 0 28px 10px;
        font-size: 15px;
    }

    blockquote {
        width: 95%;
        padding: 24px 28px;
        font-size: 16px;
        margin: 24px 0 24px 10px;
    }

    .nav-toggle {
        width: 100px;
        height: 100px;
    }

    .nav-links {
        width: 160px;
    }

    #footer {
        padding: 50px 16px;
        font-size: 15px;
    }
}