/* ===============================
   GLOBAL – CLASSY & REFINED
================================ */

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #fdfdfd;
    color: #0a1f44; /* deep navy */
    line-height: 1.75;
}

h1, h2, h3 {
    font-family: 'EB Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
}

h2 {
    font-size: 32px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* subtle refined underline */
h2::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #c8102e; /* Union red accent */
}

section {
    padding: 85px 12%;
    text-align: center;
}

/* ===============================
   HERO – ELEGANT & CONTROLLED
================================ */

.hero {
    background-color: #0a1f44; /* deep academic navy */
    color: #ffffff;
    padding: 75px 12% 65px 12%;
    background-attachment: fixed; /* subtle parallax */
}

.hero h1 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 28px;
}

/* ===============================
   BUTTONS – REFINED INTERACTION
================================ */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.btn-primary {
    background-color: #c8102e;
    color: #ffffff;
    border: 1px solid #c8102e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-secondary {
    background-color: #c8102e;
    color: #ffffff;
    border: 1px solid #c8102e;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    background-color: #0a1f44;
    color: #ffffff;
    border: 1px solid #0a1f44;
}

/* ===============================
   ABOUT – SLIGHTLY LARGER
================================ */

.about {
    padding: 60px 12%;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.about-grid div {
    padding: 28px 20px;
    border-top: 3px solid #0a1f44;
    background-color: #f8f9fc;
    transition: 
        all 0.3s ease, 
        opacity 0.8s ease,
        transform 0.8s ease,
        box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
}

.about-grid div:hover {
    border-top: 3px solid #c8102e;
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.about h3 {
    font-size: 19px;
    margin-bottom: 12px;
}

/* ===============================
   OFFER – NAVY BACKGROUND
================================ */

.offer {
    background-color: #0a1f44;
    color: #ffffff;
}

.offer ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    font-size: 18px;
}

.offer li {
    margin: 14px 0;
    letter-spacing: 0.3px;
}

.offer li::before {
    content: "— ";
    color: #c8102e;
}

/* ===============================
   CONTACT – STATELY FINISH
================================ */

.contact {
    background: #f5f7fb;
    padding: 90px 12%;
}

.contact p {
    margin: 10px 0;
    font-size: 17px;
}

/* ===============================
   SCROLL ANIMATION – PREMIUM
================================ */

html {
    scroll-behavior: smooth;
}

.reveal {
    opacity: 0;
    transform: translateY(70px);
    transition: 
        opacity 0.9s cubic-bezier(.22,.61,.36,1),
        transform 0.9s cubic-bezier(.22,.61,.36,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(50px);
}

.about-grid div.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

h2.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

    section {
        padding: 70px 8%;
    }

    .hero h1 {
        font-size: 30px;
    }

    .about {
        padding: 80px 8%;
    }
}