/* ===== CSS VARIABLES ===== */
:root {
    /* Colors from chat landing page */
    --bg-primary: #0a0a0a;
    --bg-secondary: #171717;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --accent-primary: #38bdf8;
    --accent-secondary: #6366f1;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.3);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== NAVIGATION ===== */
.navbar {
    background-color: rgba(10, 10, 10, 0.7) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary) !important;
}

.brand-text {
    letter-spacing: -0.02em;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.9) 0%, rgba(99, 102, 241, 0.8) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.875rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.4;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: -10rem;
    right: -5rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    bottom: -10rem;
    left: -5rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.text-accent {
    color: var(--accent-primary);
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.bullet {
    width: 10px;
    height: 10px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.hero-image-wrapper {
    animation: fadeIn 1s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.skill-logo {
    width: 100%;
    max-width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/*-----Tutoring Page Languages----*/
/* Optional: Add hover effect */
.skill-card:hover .skill-logo {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Ensure skill-icon container has fixed height */
.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

/* Force all skill cards to have the same height */
.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 120px;
}



/*===Development Page Images====*/
/* Gallery grid styling */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-title {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    margin: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: center;
    font-weight: 600;
}

/* Modal carousel images */
#galleryCarousel .carousel-inner img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #000;
}

/* Optional: Add overlay effect on hover */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56, 189, 248, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}



/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--accent-primary);
    border: none;
    color: var(--bg-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #7dd3fc;
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(56, 189, 248, 0.3);
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* ===== SKILL CARDS ===== */
.skill-card {
    background: linear-gradient(to bottom, var(--bg-card), transparent);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.skill-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* ===== REVIEW CARDS ===== */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.review-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.review-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.review-author {
    font-size: 0.875rem;
    color: var(--accent-primary);
    font-style: italic;
    margin: 0;
}

/* ===== GALLERY ITEMS ===== */
.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image-placeholder {
    border-radius: 1rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image-placeholder {
    box-shadow: 0 12px 24px rgba(56, 189, 248, 0.3);
}

.gallery-icon {
    font-size: 3rem;
}

.gallery-title {
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* ===== MODAL ===== */
.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-image-placeholder {
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
}

.contact-form .form-control {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.contact-form .form-control:focus {
    background-color: var(--bg-secondary);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.contact-form .form-control::placeholder {
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .logo-placeholder {
        width: 40px;
        height: 40px;
    }
}
