﻿/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Container */
.portal-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

/* Header styling */
.portal-header {
    text-align: center;
    margin-bottom: 50px;
}

.portal-header h1 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 12px;
    font-weight: 700;
}

.portal-header p {
    font-size: 1.1rem;
    color: #718096;
}

/* Grid Layout for the Cards */
.portal-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
}

/* Card Styling */
.portal-card {
    background: #ffffff;
    border-radius: 16px;
    flex: 1;
    min-width: 300px;
    max-width: 480px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.portal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

/* Design flair for separating the cards */
.site-one {
    border-top: 6px solid #2b6cb0; /* Professional Deep Blue */
}

.site-two {
    border-top: 6px solid #319795; /* Clean Teal */
}

.card-content {
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.card-content h2 {
    font-size: 1.6rem;
    color: #2d3748;
    margin-bottom: 15px;
}

.card-content p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Button Styling */
.portal-btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.site-one .portal-btn {
    background-color: #2b6cb0;
    color: #fff;
}

.site-one .portal-btn:hover {
    background-color: #2b5282;
}

.site-two .portal-btn {
    background-color: #319795;
    color: #fff;
}

.site-two .portal-btn:hover {
    background-color: #287977;
}

.portal-btn:active {
    transform: scale(0.98);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .portal-header h1 {
        font-size: 2rem;
    }
    .portal-grid {
        flex-direction: column;
        align-items: center;
    }
    .portal-card {
        width: 100%;
    }
}