/* Premium Public Pages Styling - Professional & Sleek */

:root {
    --primary-color: #556ee6;
    --primary-dark: #4458c7;
    --secondary-color: #74788d;
    --success-color: #34c38f;
    --dark-color: #1a1d29;
    --light-gray: #f8f9fa;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: -0.01em;
}

/* Premium Navbar */
.public-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.public-navbar.scrolled {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.public-navbar .navbar-brand {
    font-weight: 700;
    font-size: 22px;
    color: var(--dark-color);
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.public-navbar .navbar-brand:hover {
    color: var(--primary-color);
}

.public-navbar .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    margin: 0 8px;
    padding: 10px 18px;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.public-navbar .nav-link:hover {
    color: var(--primary-color);
    background: rgba(85, 110, 230, 0.06);
}

.btn-apply {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 11px 30px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 6px 16px rgba(85, 110, 230, 0.25);
    letter-spacing: 0.3px;
}

.btn-apply:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(85, 110, 230, 0.4);
}

/* Hero Section - Premium */
.hero-section {
    background: linear-gradient(135deg, rgba(85, 110, 230, 0.45) 0%, rgba(118, 75, 162, 0.45) 100%),
                url('/assets/images/hero-students.png') center center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0 120px;
    color: #fff;
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.55) 0%, rgba(26, 29, 41, 0.25) 100%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(85, 110, 230, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 62px;
    font-weight: 800;
    margin-bottom: 28px;
    line-height: 1.15;
    letter-spacing: -2px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.9s ease-out;
}

.hero-section p.lead {
    font-size: 21px;
    margin-bottom: 44px;
    opacity: 0.96;
    line-height: 1.75;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 620px;
    animation: fadeInUp 0.9s ease-out 0.15s both;
}

.hero-section .btn {
    animation: fadeInUp 0.9s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header Premium */
.page-header {
    background: linear-gradient(135deg, rgba(85, 110, 230, 0.45) 0%, rgba(118, 75, 162, 0.45) 100%),
                url('/assets/images/hero-students.png') center center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 80px;
    color: #fff;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 29, 41, 0.55) 0%, rgba(26, 29, 41, 0.25) 100%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
}

.page-header p,
.page-header .lead {
    font-size: 19px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    opacity: 0.96;
}

.page-header .breadcrumb-item a {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Premium Cards */
.program-card {
    border: none;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
    background: #fff;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.program-card .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 24px;
    border-radius: 3px 3px 0 0;
}

.program-card .card-header h5 {
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.program-card .card-header small {
    opacity: 0.9;
    font-size: 14px;
}

.program-card .card-body {
    padding: 26px;
}

.program-card .btn {
    border-radius: 3px;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.program-card .btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 110, 230, 0.3);
}

.program-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(85, 110, 230, 0.25);
}

.program-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(85, 110, 230, 0.35);
}

/* Feature Icons */
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
    box-shadow: 0 8px 20px rgba(85, 110, 230, 0.25);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 28px rgba(85, 110, 230, 0.35);
}

/* Section Titles */
.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    color: var(--dark-color);
    letter-spacing: -1.2px;
}

/* Buttons - Premium Style */
.btn-lg {
    padding: 14px 36px;
    font-size: 16px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.btn-light {
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    font-weight: 600;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 6px 16px rgba(85, 110, 230, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(85, 110, 230, 0.4);
}

/* Footer */
.public-footer {
    background: linear-gradient(135deg, #1a1d29 0%, #2d3748 100%);
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.public-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.public-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.public-footer a:hover {
    color: #fff;
    padding-left: 5px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .hero-section p.lead {
        font-size: 18px;
    }

    .page-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0 80px;
        min-height: 480px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Smooth page transitions */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Override all Bootstrap rounded classes to 3px */
.rounded {
    border-radius: 3px !important;
}

.rounded-1 {
    border-radius: 3px !important;
}

.rounded-2 {
    border-radius: 3px !important;
}

.rounded-3 {
    border-radius: 3px !important;
}

.rounded-top {
    border-top-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
}

.rounded-end {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

.rounded-bottom {
    border-bottom-left-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}

.rounded-start {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}

/* All form elements */
.form-control,
.form-select,
.input-group-text {
    border-radius: 3px !important;
}

/* All buttons */
.btn {
    border-radius: 3px !important;
}

.btn-lg {
    border-radius: 3px !important;
}

.btn-sm {
    border-radius: 3px !important;
}

/* Cards */
.card {
    border-radius: 3px !important;
}

.card-header {
    border-top-left-radius: 3px !important;
    border-top-right-radius: 3px !important;
}

/* Alerts */
.alert {
    border-radius: 3px !important;
}

/* Badges */
.badge {
    border-radius: 3px !important;
}

/* Modals */
.modal-content {
    border-radius: 3px !important;
}

/* Dropdowns */
.dropdown-menu {
    border-radius: 3px !important;
}

/* Accordion */
.accordion-item {
    border-radius: 3px !important;
}

.accordion-button {
    border-radius: 3px !important;
}

/* Progress bars */
.progress {
    border-radius: 3px !important;
}
