/* Base Styles */
:root {
    /* Modern, vibrant color palette */
    --primary-color: #0078d4; /* Microsoft blue */
    --secondary-color: #744da9; /* Modern purple */
    --accent-color: #f7630c; /* Vibrant orange */
    --accent-secondary: #16c60c; /* Bright green */
    --text-color: #252525; /* Near black for better readability */
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-off-white: #f9f9f9;
    --bg-gray: #f3f2f1;
    --bg-dark: #2f2f2f;
    --box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #ffb900);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.hero .btn {
    background-color: var(--accent-color);
    color: var(--text-light);
    box-shadow: var(--box-shadow);
}

.hero .btn:hover {
    background-color: var(--accent-color);
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.btn:not(.hero .btn) {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn:not(.hero .btn):hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

/* Header */
header {
    background-color: var(--bg-light);
    box-shadow: var(--box-shadow);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 36px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .logo h1 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo img {
        height: 30px;
        margin-right: 8px;
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

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

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
}

/* Add hero-actions styling for proper button spacing */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px; /* Creates proper spacing between buttons */
    margin: 0 auto;
}

@media screen and (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 80%;
        max-width: 280px;
        margin: 0 auto;
        gap: 15px; /* Slightly reduced gap for mobile */
    }
}

/* Updated Professionals Section */
.professionals {
    background-color: var(--bg-off-white);
    text-align: center;
    padding-bottom: 3rem;
}

/* Connection Tip and Job Titles Note */
.connection-tip, .job-titles-note {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: flex-start;
    text-align: left;
    box-shadow: var(--box-shadow);
}

.job-titles-note {
    border-left: 4px solid var(--secondary-color);
}

.connection-tip {
    border-left: 4px solid var(--accent-color);
}

.connection-tip i, .job-titles-note i {
    font-size: 2rem;
    margin-right: 1.5rem;
    margin-top: 0.5rem;
}

.job-titles-note i {
    color: var(--secondary-color);
}

.connection-tip i {
    color: var(--accent-color);
}

.connection-tip h4, .job-titles-note h4 {
    margin-bottom: 0.5rem;
}

.connection-tip h4 {
    color: var(--accent-color);
}

.job-titles-note h4 {
    color: var(--secondary-color);
}

.connection-tip blockquote {
    background: var(--bg-gray);
    padding: 1.2rem;
    border-radius: 6px;
    font-style: italic;
    color: var(--text-color);
    margin-top: 1rem;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Mobile responsive styles for the connection tip and job titles note */
@media screen and (max-width: 768px) {
    .connection-tip, .job-titles-note {
        flex-direction: column;
    }
    
    .connection-tip i, .job-titles-note i {
        margin-bottom: 1rem;
        margin-right: 0;
    }
}

.locations-tabs {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 1.5rem;
    gap: 1rem;
}

.tab-button {
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active, .tab-button:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.raleigh-intro {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.raleigh-intro h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.raleigh-intro a {
    font-weight: 600;
}

.key-contacts {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.key-contacts h3 {
    color: var(--text-color);
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.key-contacts h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.key-contacts p {
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.key-profiles {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.key-profile-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.key-profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.key-profile-card .profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.key-profile-card .profile-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.key-profile-card .profile-info p {
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.profile-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var (--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.profile-avatar .initials {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 600;
}

.profile-info {
    width: 100%;
}

.profile-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.profile-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.profile-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.profile-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    margin-top: 0.8rem;
    padding: 0.6rem 1rem;
    border-radius: 5px;
    background-color: var(--bg-gray);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.profile-link:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.profile-link i {
    margin-right: 6px;
}

.creator-card {
    border: 2px dashed var(--accent-color);
    position: relative;
}

.creator-card::before {
    content: '✨';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile responsive styles for the professionals section */
@media screen and (max-width: 768px) {
    .connection-tip {
        flex-direction: column;
    }
    
    .connection-tip i {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .key-profiles {
        flex-direction: column;
        align-items: center;
    }
    
    .key-profile-card {
        max-width: 100%;
    }
    
    .profiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .profile-avatar {
        width: 70px;
        height: 70px;
    }
    
    .profile-avatar .initials {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 480px) {
    .locations-tabs {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .tab-button {
        width: 100%;
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
    
    .profile-card {
        padding: 1.2rem;
    }
    
    .profiles-grid {
        gap: 1rem;
    }
}

/* Resources Section */
.resources {
    text-align: center;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background-color: var(--bg-gray);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.resource-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

.resource-links-nowrap {
    white-space: nowrap;
}

/* Microsoft Connect Section */
.ms-connect {
    background-color: var(--bg-gray);
    text-align: center;
}

.ms-charlotte {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--box-shadow);
    text-align: left;
    border-left: 4px solid var(--primary-color);
}

.ms-charlotte h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.ms-resources {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ms-resource {
    display: flex;
    flex-direction: row;
    background-color: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: left;
    transition: transform 0.3s ease;
}

.ms-resource:hover {
    transform: translateY(-5px);
}

.resource-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1.5rem;
    font-size: 2rem;
    min-width: 80px;
}

.ms-resource-content {
    padding: 1.5rem;
    flex-grow: 1;
    width: 100%;
}

.ms-resource-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.ms-resource-content p {
    margin-bottom: 1.5rem;
}

/* Next Steps Section */
.next-steps {
    text-align: center;
    background-color: var(--bg-off-white);
}

.next-steps h2 {
    color: var(--text-color);
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.next-steps h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background: var(--gradient-accent);
    left: 25%;
    bottom: -10px;
    border-radius: 2px;
}

.steps-timeline {
    margin-top: 3rem;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.step {
    position: relative;
    width: 50%;
    margin: 3rem 0;
    padding-right: 3rem;
    text-align: right;
}

.step:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 3rem;
    text-align: left;
}

.step-number {
    position: absolute;
    top: 0;
    right: -20px;
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--box-shadow);
}

.step:nth-child(even) .step-number {
    right: auto;
    left: -20px;
}

.step-content {
    background-color: var(--bg-light);
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.step-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

/* AI in Software Development Section */
.ai-website-note {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.ai-website-note::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.ai-website-note i {
    font-size: 1.8rem;
    margin-right: 1rem;
    z-index: 2;
}

.ai-website-note p {
    margin-bottom: 0;
    font-weight: 500;
    z-index: 2;
}

.ai-website-note a {
    color: var(--text-light);
    text-decoration: underline;
    font-weight: 700;
}

.ai-website-note a:hover {
    color: var(--accent-color);
}

@media screen and (max-width: 768px) {
    .ai-website-note {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .ai-website-note i {
        margin-right: 0;
        margin-bottom: 0.8rem;
        font-size: 2rem;
    }
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 1.5rem 0;  /* Increased from 0.6rem to make footer taller */
    font-size: 0.9rem;  /* Slightly increased font size */
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    text-align: left;
    margin: 0;
    max-width: 75%; /* Added max-width to give more space to the footer content */
}

.footer-content p {
    margin-bottom: 0;
}

.footer-content .disclaimer {
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    max-width: 100%; /* Changed from 600px to take full width of parent */
    line-height: 1.4; /* Added for better readability in a wider format */
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

.social-media {
    display: flex;
    align-items: center;
    gap: 1.2rem;  /* Increased from 0.8rem for more spacing between icons */
}

.social-media a {
    color: var(--text-light);
    font-size: 1.2rem;  /* Increased icon size */
    transition: all 0.3s ease;
}

.social-media a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);  /* Added subtle hover effect */
}

@media screen and (max-width: 768px) {
    footer .container {
        flex-direction: column;
        gap: 1rem;  /* Increased from 0.5rem */
    }
    
    .footer-content {
        text-align: center;
        max-width: 100%; /* Full width on mobile */
    }

    .social-media {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
        width: 100%;
    }
    
    .social-media a {
        display: inline-flex;
        font-size: 1.4rem; /* Slightly larger icons on mobile */
        padding: 0.5rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .ms-resource {
        grid-template-columns: 1fr;
    }
    
    .ms-resource img {
        height: 250px;
    }
    
    .hero h2 {
        font-size: 2.4rem;
    }
    
    .ms-charlotte {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-light);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s ease;
    }
    
    nav.active {
        clip-path: circle(150% at top right);
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .steps-timeline::before {
        left: 30px;
    }
    
    .step, .step:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }
    
    .step-number, .step:nth-child(even) .step-number {
        left: 10px;
        right: auto;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .social-media {
        margin-top: 1rem;
    }
    
    /* Microsoft resources section mobile optimization */
    .ms-resource {
        flex-direction: column;
    }
    
    .resource-icon {
        min-width: auto;
        width: 100%;
        padding: 1.5rem;
    }
    
    .ms-resource-content {
        padding: 1.5rem;
    }
    
    .ms-charlotte h3 {
        font-size: 1.4rem;
    }
    
    /* Resource categories mobile optimization */
    .category h3 {
        font-size: 1.6rem;
    }
    
    .resource-cards {
        grid-template-columns: 1fr;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .ms-charlotte {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .ms-resource-content {
        padding: 1.2rem;
    }
    
    .ms-resource-content .btn {
        display: block;
        text-align: center;
    }
    
    .category {
        margin-bottom: 2.5rem;
    }
    
    .category h3 {
        font-size: 1.4rem;
    }
    
    .resource-card {
        padding: 1.2rem;
    }
}

/* Resources Section */
.resources {
    background-color: var(--bg-off-white);
    text-align: center;
}

.resource-categories {
    margin-top: 2rem;
}

.category {
    margin-bottom: 4rem;
    position: relative;
}

.category h3 {
    display: inline-block;
    position: relative;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var (--secondary-color);
}

.category h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.resource-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.card-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--bg-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.resource-card:hover .card-icon {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.resource-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.resource-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.resource-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var (--gradient-primary);
    transition: width 0.3s ease;
}

.resource-link:hover {
    color: var(--secondary-color);
}

.resource-link:hover::after {
    width: 100%;
}

/* Back to Top Button - Mobile Optimized */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.back-to-top:active {
    transform: translateY(2px);
}