/**
 * Custom Styles for Psychology Education Landing Page
 */

/* ============================================
   Variables
   ============================================ */
:root {
    --primary-blue: #0d6efd;
    --light-blue: #e7f3ff;
    --yellow: #ffc107;
    --green: #198754;
    --success-green: #20c997;
    --pink: #e91e63;
    --light-yellow: #fff4cd;
}

/* ============================================
   Top Hashtags Section
   ============================================ */
.top-hashtags {
    font-size: 0.875rem;
    font-weight: 500;
}

.top-hashtags .hashtags span {
    opacity: 0.9;
}

.top-hashtags .author {
    text-transform: lowercase;
}

/* ============================================
   Navigation
   ============================================ */
.logo-icon {
    width: 40px;
    height: 40px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #e7f3ff 0%, #fff 100%);
    padding: 4rem 0;
}

.hero-section h1 {
    color: #1a1a1a;
    line-height: 1.2;
}

.hero-image-container {
    position: relative;
    transform: rotate(-2deg);
    z-index: 1;
}

.bg-shapes {
    width: 100%;
    height: 100%;
    top: -20px;
    right: -20px;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-green {
    width: 200px;
    height: 200px;
    background: var(--success-green);
    top: 10%;
    right: 10%;
}

.shape-yellow {
    width: 150px;
    height: 150px;
    background: var(--yellow);
    top: 50%;
    right: 5%;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper img {
    transform: rotate(2deg);
    border: 10px solid white;
}

.floating-card {
    top: 20%;
    right: -10%;
    max-width: 250px;
    transform: rotate(5deg);
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.blue-character {
    bottom: -10px;
    right: -10px;
    z-index: 4;
}

.character-circle {
    width: 80px;
    height: 80px;
    animation: bounce 2s ease-in-out infinite;
}

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

/* ============================================
   Directions Section
   ============================================ */
.directions-section {

    padding: 5rem 0;
}

.direction-card {
    min-height: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

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

.clip-icon {
    top: -10px;
    right: 20px;
    font-size: 2rem;
    z-index: 1;
}

.direction-icon .icon-wrapper {
    width: 100px;
    height: 100px;
}

.gender-symbols {
    display: flex;
    gap: 5px;
    align-items: center;
}

/* ============================================
   Courses Section
   ============================================ */
.courses-section {
    padding: 5rem 0;
}

.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.course-image {
    height: 250px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badges {
    z-index: 2;
}

.course-badges .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
}

.course-rating {
    display: flex;
    flex-direction: column;
}

.course-tags .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border: 1px solid #dee2e6;
}

.course-duration {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    border-top: 1px solid #dee2e6;
}

.footer a {
    color: var(--primary-blue);
}

.footer a:hover {
    text-decoration: underline !important;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-image-wrapper {
        transform: none;
        margin-top: 2rem;
    }

    .floating-card {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin-top: 1rem;
        max-width: 100%;
    }

    .blue-character {
        display: none;
    }

    .directions-section {
        padding: 3rem 0;
    }

    .direction-card {
        min-height: 250px;
        margin-bottom: 1.5rem;
    }

    .courses-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .btn-primary {
        width: 100%;
        margin-top: 1rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .direction-icon .icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .direction-icon .icon-wrapper i {
        font-size: 2rem !important;
    }
}

/* ============================================
   Utilities
   ============================================ */
.text-primary {
    color: var(--primary-blue) !important;
}

.bg-primary {
    background-color: var(--primary-blue) !important;
}

.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

