/* Landing Page Styles */

/* Public Navigation (for all public pages) */
.public-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0054A6 0%, #0077BE 100%) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.public-nav .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.public-nav .nav-brand {
    display: flex;
    align-items: center;
}

.public-nav .nav-logo {
    height: 45px;
}

.public-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.public-nav .nav-link {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 8px;
}

.public-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.public-nav .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.public-nav .btn-admin {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.public-nav .btn-admin:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0054A6 0%, #0077BE 100%);
    position: relative;
    overflow: hidden;
}

.landing-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 50px;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: white;
}

.btn-admin {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-admin:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 20px 80px;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-animation {
    max-width: 500px;
    width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    object-fit: contain;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-highlight {
    display: block;
    color: #FFD700;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: white;
    color: #0054A6;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary-hero {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border: 2px solid white;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-stats-mini {
    display: flex;
    gap: 60px;
}

.stat-mini {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Search Section */
.quick-search-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1f2937;
}

.search-box-landing {
    max-width: 700px;
    margin: 0 auto 30px;
    display: flex;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-input-landing {
    flex: 1;
    padding: 20px 30px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-btn-landing {
    background: #0054A6;
    color: white;
    border: none;
    padding: 0 40px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn-landing:hover {
    background: #003d7a;
}

.popular-searches {
    text-align: center;
}

.ps-label {
    color: #6b7280;
    margin-right: 15px;
}

.ps-tag {
    background: white;
    color: #0054A6;
    border: 2px solid #0054A6;
    padding: 8px 20px;
    border-radius: 20px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.ps-tag:hover {
    background: #0054A6;
    color: white;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.green {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.stat-icon.orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stat-icon.purple {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.stat-info h3 {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin: 10px 0;
}

.stat-desc {
    color: #6b7280;
    line-height: 1.5;
}

/* Universities Section */
.universities-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.universities-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.uni-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s;
}

.uni-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.uni-logo-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uni-logo {
    max-width: 100%;
    max-height: 100%;
}

.uni-card h4 {
    color: #0054A6;
    font-size: 20px;
    margin-bottom: 5px;
}

.uni-name {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.uni-carreras {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-uni-explore {
    background: transparent;
    color: #0054A6;
    border: 2px solid #0054A6;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-uni-explore:hover {
    background: #0054A6;
    color: white;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #1f2937;
}

.about-text p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature i {
    color: #0054A6;
    font-size: 20px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0054A6 0%, #0077BE 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-cta {
    background: white;
    color: #0054A6;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.landing-footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #0054A6;
    transform: translateY(-3px);
}

.footer-links h5,
.footer-contact h5 {
    margin-bottom: 20px;
    color: white;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: #0054A6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-link {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 120px 20px 60px;
        gap: 40px;
    }
    
    .hero-image-container {
        order: -1;
    }
    
    .hero-animation {
        max-width: 80%;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats-mini {
        flex-direction: column;
        gap: 20px;
    }
    
    .search-box-landing {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-input-landing {
        padding: 15px 20px;
        border-radius: 15px 15px 0 0;
    }
    
    .search-btn-landing {
        padding: 15px;
        border-radius: 0 0 15px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .universities-carousel {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
}
