/* My University Pal Argentina - Academic Stylesheet */
:root {
    --primary: #1e3a8a;       /* Deep collegiate navy */
    --primary-light: #2563eb;
    --primary-dark: #0f172a;
    --accent: #d97706;        /* Academic gold */
    --accent-hover: #b45309;
    --secondary: #0d9488;     /* Sage teal */
    --bg-light: #f8fafc;
    --surface: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-info span {
    margin-right: 18px;
}

.top-bar-info a {
    color: #e2e8f0;
}

.header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.brand-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 900;
    font-size: 18px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 18px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    padding: 6px 4px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

.nav-btn {
    background: var(--accent);
    color: #ffffff !important;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-btn:hover {
    background: var(--accent-hover);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.88), rgba(30, 58, 138, 0.85)), url('../images/hero.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 90px 0;
    text-align: left;
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    background: rgba(217, 119, 6, 0.25);
    border: 1px solid var(--accent);
    color: #fbbf24;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background: #ffffff;
    color: var(--primary);
}

.btn-dark {
    background: var(--primary);
    color: #ffffff;
}

.btn-dark:hover {
    background: var(--primary-light);
    color: #ffffff;
}

/* Sections */
.section {
    padding: 70px 0;
}

.section-alt {
    background: #ffffff;
}

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 50px auto;
}

.section-pretitle {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Image Cards */
.img-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.img-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.img-card-body {
    padding: 22px;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin-top: 15px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-dark);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

/* Compliance Alert Box */
.compliance-box {
    background: #f1f5f9;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 30px 0;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.7;
}

.compliance-box h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

/* Forms */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    background: var(--surface);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: #94a3b8;
    padding: 60px 0 30px 0;
    font-size: 13px;
    border-top: 4px solid var(--accent);
}

.footer-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-accent {
    background: rgba(217, 119, 6, 0.15);
    color: var(--accent);
}

.badge-primary {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open {
        display: flex;
    }
    .hero-title {
        font-size: 28px;
    }
    .section {
        padding: 45px 0;
    }
}
