/* 
 * Public CSS for ICT Gontor
 * Theme: Midnight Blue & Neon Cyan (Modern B2B Tech Corporate)
 */

:root {
    --primary-color: #0ea5e9; /* Light Blue / Cyan */
    --primary-hover: #0284c7;
    --secondary-color: #38bdf8;
    --dark-bg: #0f172a; /* Midnight Blue */
    --darker-bg: #020617; /* Very Dark Blue */
    --card-bg: rgba(30, 41, 59, 0.7); /* Slate 800 with opacity */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.1);
    
    --glass-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.05);
}

:root[data-bs-theme="light"] {
    --primary-color: #0ea5e9; 
    --primary-hover: #0284c7;
    --secondary-color: #0284c7;
    --dark-bg: #f8fafc; /* light bg */
    --darker-bg: #ffffff; /* very light bg */
    --card-bg: rgba(255, 255, 255, 0.9); 
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(15, 23, 42, 0.1);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(15, 23, 42, 0.05);
}

body.public-layout {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.text-gradient {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Buttons */
.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid var(--border-color);
    background: rgba(148, 163, 184, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(148, 163, 184, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Navbar */
.public-navbar {
    background: transparent;
    transition: all 0.4s ease;
    padding: 1.25rem 0;
}

.public-navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0ea5e9 0%, #818cf8 100%);
    color: white;
    font-size: 1.2rem;
}

.brand-logo-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #0ea5e9 0%, #818cf8 100%);
    color: white;
    font-size: 1rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--secondary-color) !important;
}

/* Footer */
.public-footer {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.hover-white:hover {
    color: white !important;
}

/* Cards & Glassmorphism */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(56, 189, 248, 0.1);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box-primary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.icon-box-purple {
    background: rgba(129, 140, 248, 0.1);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.2);
}

.icon-box-emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.icon-box-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Hero Section Specifics */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, rgba(15,23,42,0) 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(129,140,248,0.1) 0%, rgba(15,23,42,0) 70%);
    bottom: 0;
    left: -150px;
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Form Controls Public */
.form-control {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    transition: all 0.3s ease;
}
.form-control:focus {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    color: var(--text-main);
    box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.25);
}
.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.input-group-text {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}
