/* ==============================================================
   Cyber Institute - Custom CSS
   ============================================================== */

:root {
    --primary-color: #1a56db;
    --primary-light: #3f83f8;
    --primary-dark: #1e429f;
    --secondary-color: #00e1ff;
    --dark-bg: #0b1120;
    --light-bg: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo {
    font-family: 'Rajdhani', sans-serif;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Gradients */
.btn-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 225, 255, 0.4);
    transition: all 0.3s ease;
    color: white !important;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 225, 255, 0.6);
    color: white !important;
}

.spacing-1 {
    letter-spacing: 1px;
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 10%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    background-image: linear-gradient(to right, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.7) 60%, rgba(17, 24, 39, 0.3) 100%), url('hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.col-md-3:hover .feature-icon {
    transform: translateY(-10px);
}

/* Cards */
.course-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* Pricing Cards */
.pricing-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.professional-card {
    border: 2px solid var(--primary-light) !important;
    background-color: #fff;
    z-index: 2;
    transform: scale(1.05);
}

.professional-card:hover {
    transform: scale(1.05) translateY(-10px);
}

@media (max-width: 991px) {
    .professional-card {
        transform: scale(1);
    }

    .professional-card:hover {
        transform: scale(1) translateY(-10px);
    }
}

/* Contact Cards */
.contact-icon {
    transition: all 0.3s ease;
}

.card:hover .contact-icon {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.card:hover .contact-icon.text-success {
    background-color: #198754 !important;
}

.card:hover .contact-icon.text-warning {
    background-color: #ffc107 !important;
}

/* Footer Links */
.footer-links a {
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: white !important;
    padding-left: 5px;
}

/* Custom Form Controls */
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.25);
    border-color: var(--primary-light);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.8s ease forwards;
}