/* FUNAAB Admission Portal - Main Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #f0f7f0;
    color: #1a2e1a;
    line-height: 1.5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header Section */
#header {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #0b3b0b 0%, #1e6b1e 100%);
    color: white;
}

#header .inner {
    max-width: 800px;
    margin: 0 auto;
}

#header .icon.major img {
    max-width: 80px;
    height: auto;
    margin-bottom: 1rem;
}

#header h1 {
    font-size: 2rem;
    font-weight: 700;
}

#header h1 strong {
    font-weight: 800;
}

/* Main Section */
.main.style1 {
    background: #f0f7f0;
    padding: 3rem 0;
}

/* Grid Layout - replaces row/gtr-150 */
.row.gtr-150 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* Card Styling */
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 32, 0, 0.1);
    padding: 1.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 32, 0, 0.15);
}

.card h2 {
    font-size: 2rem;
    color: #1e6b1e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    flex-grow: 1;
    color: #2d4a2d;
    margin-bottom: 1.5rem;
}

/* Button Styles */
.actions.special {
    margin-top: auto;
    padding-top: 0.5rem;
    list-style: none;
}

.button {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.button.primary {
    background: #1e6b1e;
    color: white;
}

.button.primary:hover {
    background: #0f4c0f;
}

.button.primary:active {
    transform: scale(0.97);
}

/* Icon styling (if using FontAwesome or similar) */
.icon.solid.fa-sign-in-alt::before {
    content: "→";
    margin-right: 0.5rem;
}

/* Footer Section */
#footer {
    text-align: center;
    padding: 2rem 1rem;
    background: #1a3b1a;
    color: #cce8cc;
}

.copyright {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.copyright li {
    display: inline;
    font-size: 0.9rem;
}

.copyright a {
    color: #ffcd3c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright a:hover {
    text-decoration: underline;
    color: #ffdd6e;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .row.gtr-150 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #header h1 {
        font-size: 1.5rem;
    }

    .card h2 {
        font-size: 1.6rem;
    }

    .copyright {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}

/* Utility Classes (preserved from original) */
.icon.major {
    display: inline-block;
}