/* Basic reset and typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FBF8F1; /* Using the warm cream to complement navy/gold */
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

/* Wrapper to hold header and panels */
.page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.main-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-header h1 {
    color: #02006e; /* Navy */
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

.main-header p {
    color: #c49441; /* Gold */
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Container for the two panels */
.panel-container {
    display: flex;
    gap: 30px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

/* Individual panel styling */
.panel {
    flex: 1;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Base Shadow */
.panel {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Hover effects - adding a subtle colored glow based on the panel type */
.panel.primary:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(2, 0, 110, 0.15); /* Navy glow */
    border-color: rgba(2, 0, 110, 0.2);
}

.panel.secondary:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(196, 148, 65, 0.2); /* Gold glow */
    border-color: rgba(196, 148, 65, 0.3);
}

/* Icon Styling */
.icon-wrapper {
    margin-bottom: 20px;
    display: inline-flex;
    padding: 15px;
    border-radius: 50%;
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
}

.panel.primary .icon-wrapper {
    color: #02006e;
    background-color: rgba(2, 0, 110, 0.05);
}

.panel.secondary .icon-wrapper {
    color: #c49441;
    background-color: rgba(196, 148, 65, 0.1);
}

.panel:hover .icon-wrapper {
    transform: scale(1.1);
}

.panel h2 {
    margin: 0 0 15px 0;
    font-size: 1.8rem;
}

.panel p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Styled link button */
.panel-btn {
    display: inline-block;
    padding: 14px 28px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Primary Button (Navy) */
.panel.primary .panel-btn {
    background-color: #02006e;
}
.panel.primary .panel-btn:hover {
    background-color: #1a1885;
    box-shadow: 0 4px 15px rgba(2, 0, 110, 0.3);
}

/* Secondary Button (Gold) */
.panel.secondary .panel-btn {
    background-color: #c49441;
}
.panel.secondary .panel-btn:hover {
    background-color: #b38536;
    box-shadow: 0 4px 15px rgba(196, 148, 65, 0.3);
}

/* ENTRANCE ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0; /* Hidden before animation starts */
    animation: fadeUp 0.8s ease forwards;
}

/* Responsive design */
@media (max-width: 768px) {
    .panel-container {
        flex-direction: column;
    }
    .main-header h1 {
        font-size: 2rem;
    }
}