:root {
  --primary: #c35e32;
  --secondary: #0f2744;
  --tertiary: #e07b4f;
  --quaternary: #2c4770;
  --background-dark: #0a1929;
  --text-light: #ffffff;
  --text-cream: #f5f5f0;
  --accent-orange: #e07b4f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-cream);
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--secondary) 50%, var(--quaternary) 100%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: var(--secondary);
    clip-path: ellipse(150% 100% at 50% 0%);
    /* animation: wave-pulse-top 8s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite; */
    opacity: 0.7;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--primary) 100%);
    clip-path: ellipse(150% 100% at 50% 100%);
    /* animation: wave-pulse-bottom 10s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite; */
    opacity: 0.5;
    z-index: 0;
}

/* @keyframes wave-pulse-top { */
/*     0%, 100% { */
/*         clip-path: ellipse(150% 100% at 50% 0%); */
/*         opacity: 0.7; */
/*     } */
/*     50% { */
/*         clip-path: ellipse(140% 90% at 45% 0%); */
/*         opacity: 0.6; */
/*     } */
/* } */
/**/
/* @keyframes wave-pulse-bottom { */
/*     0%, 100% { */
/*         clip-path: ellipse(150% 100% at 50% 100%); */
/*         opacity: 0.5; */
/*     } */
/*     50% { */
/*         clip-path: ellipse(140% 90% at 55% 100%); */
/*         opacity: 0.6; */
/*     } */
/* } */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 80px;
    /* animation: fade-slide-down 1.2s cubic-bezier(0.34, 1.56, 0.64, 1); */
}

.main-title {
    font-size: 52px;
    font-weight: 900;
    margin-top: 50px;
    letter-spacing: -1px;
    line-height: 1.2;
    /* text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
    padding: 0 20px;
    background: linear-gradient(135deg, var(--primary), var(--tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* @keyframes fade-slide-down { */
/*     from { */
/*         opacity: 0; */
/*         transform: translateY(-50px) scale(0.95); */
/*     } */
/*     to { */
/*         opacity: 1; */
/*         transform: translateY(0) scale(1); */
/*     } */
/* } */

.banner {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow:
        0 15px 60px rgba(224, 123, 79, 0.4),
        0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.banner:hover {
    transform: translateY(-10px) scale(1.02) rotate(-1deg);
    box-shadow:
        0 25px 80px rgba(224, 123, 79, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.4);
}

.content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    opacity: 0;
    transform: translateY(60px);
    animation: fade-slide-up 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.row:nth-child(1) { animation-delay: 0.3s; }
.row:nth-child(2) { animation-delay: 0.5s; }
.row:nth-child(3) { animation-delay: 0.7s; }
.row:nth-child(4) { animation-delay: 0.9s; }

@keyframes fade-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cover-col {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.cover-image {
    max-width: 70%;
    height: auto;
    border-radius: 20px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(224, 123, 79, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    position: relative;
}

.cover-image::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-orange), var(--primary));
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.cover-image:hover::before {
    opacity: 0.6;
}

.cover-image:hover {
    transform: translateY(-7px) rotateY(4deg) scale(1.025);
    box-shadow:
        0 25px 60px rgba(224, 123, 79, 0.5),
        0 0 0 2px var(--accent-orange),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.text-col {
    padding: 40px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 28px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary), var(--tertiary));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* animation: gradient-shift 3s ease infinite; */
}

/* @keyframes gradient-shift { */
/*     0%, 100% { background-position: 0% 50%; } */
/*     50% { background-position: 100% 50%; } */
/* } */

.text-col:hover::before {
    transform: scaleX(1);
}

.text-col:hover {
    transform: translateY(-8px);
    box-shadow:
        0 15px 60px rgba(224, 123, 79, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.text-col h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.text-col h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.text-col p {
    text-align: justify;
    font-size: 17px;
    line-height: 1.9;
    color: var(--secondary);
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.text-col p strong, a {
    color: var(--primary);
    font-weight: 700;
}

.text-col ul {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.text-col li {
    font-size: 17px;
    line-height: 1.9;
    color: var(--secondary);
    padding-left: 30px;
    position: relative;
    margin-bottom: 8px;
}

.text-col li::before {
    content: '▸';
    position: absolute;
    left: 8px;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 18px;
}

/* Decorative floating circle */
.text-col::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, var(--accent-orange), transparent);
    border-radius: 50%;
    opacity: 0.12;
    /* animation: float-circle 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; */
    pointer-events: none;
}

@keyframes float-circle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }
    50% {
        transform: translate(-30px, -30px) scale(1.1);
        opacity: 0.18;
    }
}

/* Bezier curve animated accent on alternating rows */
/* .row:nth-child(odd) .text-col { */
/*     animation: pulse-glow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite; */
/* } */

/* @keyframes pulse-glow { */
/*     0%, 100% { */
/*         box-shadow: */
/*             0 10px 40px rgba(0, 0, 0, 0.25), */
/*             inset 0 1px 0 rgba(255, 255, 255, 1); */
/*     } */
/*     50% { */
/*         box-shadow: */
/*             0 10px 40px rgba(224, 123, 79, 0.15), */
/*             inset 0 1px 0 rgba(255, 255, 255, 1); */
/*     } */
/* } */

/* Footer styles */
.footer {
    margin-top: 100px;
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 32px;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary), var(--tertiary), var(--accent-orange));
    background-size: 200% 100%;
    /* animation: gradient-shift 3s ease infinite; */
}

.footer-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--secondary);
    margin-bottom: 12px;
}

.footer-content .email {
    margin: 20px 0 30px;
}

.footer-content .email a {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-orange);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.footer-content .email a:hover {
    color: var(--primary);
    transform: scale(1.05);
}

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.footer-content li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--secondary);
    padding-left: 35px;
    position: relative;
    margin-bottom: 10px;
}

.footer-content li::before {
    content: '✓';
    position: absolute;
    left: 8px;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 20px;
}

.footer-content ul ul {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 20px;
}

.footer-content ul ul li {
    font-size: 16px;
    padding-left: 25px;
    margin-bottom: 6px;
}

.footer-content ul ul li::before {
    content: '▸';
    font-size: 14px;
    left: 5px;
}

.footer-note {
    margin-top: 30px;
    font-weight: 600;
    font-size: 18px !important;
    color: var(--primary) !important;
}

@media (max-width: 768px) {
    .row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .container {
        padding: 40px 20px;
    }

    .content {
        gap: 60px;
    }

    .text-col {
        padding: 30px;
    }

    .text-col h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .text-col h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .text-col p {
        font-size: 16px;
    }

    .text-col li {
        font-size: 16px;
    }

    body::before,
    body::after {
        height: 120px;
    }

    .header {
        margin-bottom: 50px;
    }

    .main-title {
        font-size: 28px;
        margin-top: 30px;
        letter-spacing: 1px;
    }

    .banner {
        max-width: 100%;
        border-radius: 16px;
    }

    .footer {
        margin-top: 60px;
        padding: 40px 0 30px;
    }

    .footer-content {
        padding: 35px 25px;
    }

    .footer-content h2 {
        font-size: 22px;
    }

    .footer-content p {
        font-size: 16px;
    }

    .footer-content .email a {
        font-size: 20px;
    }

    .footer-content li {
        font-size: 15px;
    }
}
