/* ===== Global Styles ===== */
:root {
    --primary-color: #5e72e4;
    --primary-dark: #4c63d2;
    --accent-color: #9b6dd4;
    --accent-light: #c6a3d8;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --danger-color: #e53935;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ===== Navigation Bar ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    text-decoration: none;
}

.nav-menu {
    display: none !important; /* Always hidden - never show page names */
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    background-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HAMBURGER MENU BUTTON (New) ===== */
/* Three-line hamburger icon that appears on mobile devices */
.hamburger {
    display: flex; /* Show by default, hide on desktop with media query */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 1001; /* Ensure it's above everything */
}

/* Individual lines of the hamburger icon */
.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--bg-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger icon animation when menu is open */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===== SIDEBAR MENU (New) ===== */
/* Slide-out navigation panel from the left side */
.sidebar {
    position: fixed;
    right: 0; /* Slide from right side */
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    z-index: 2000; /* Higher z-index than overlay to appear on top */
    transform: translateX(100%); /* Start off-screen to the right */
    transition: transform 0.3s ease; /* Smooth slide animation */
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2); /* Shadow on left side of sidebar */
}

/* Sidebar appears when active class is added */
.sidebar.active {
    transform: translateX(0);
}

/* Close button inside sidebar */
.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--bg-white);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    color: var(--accent-light);
}

/* Sidebar navigation container */
.sidebar-nav {
    padding-top: 4rem;
}

/* Sidebar menu list */
.sidebar-menu {
    list-style: none;
    padding: 0;
}

/* Individual sidebar menu items */
.sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sidebar links styling */
.sidebar-link {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* Sidebar link hover effect with color and background highlight */
.sidebar-link:hover {
    background-color: rgba(94, 114, 228, 0.2); /* Purple highlight */
    padding-left: 2rem;
    color: var(--accent-light);
}

/* ===== OVERLAY BEHIND SIDEBAR (New) ===== */
/* Semi-transparent dark overlay that appears when sidebar is open */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 1500; /* Below sidebar but above main content */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: block; /* Make sure overlay is not display: none */
}

/* Overlay appears when sidebar is active */
.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== DESKTOP MEDIA QUERY ===== */
@media (min-width: 769px) {
    /* Keep hamburger and sidebar visible on all screen sizes */
    /* Hide nav-menu completely everywhere */
    .nav-menu {
        display: none !important;
    }
}

/* ===== Hero Section ===== */
.hero {
    /* Background image covers entire hero section */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
    padding: 6rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    
    /* ===== BACKGROUND IMAGE STYLING ===== */
    /* background-size: 50% zooms out the image - shows much less zoomed view */
    background-size: 50%;
    /* background-position: center centers the image on screen */
    background-position: center;
    /* background-attachment: fixed creates parallax effect as you scroll */
    background-attachment: fixed;
    /* Fallback color if image doesn't load */
    background-color: var(--primary-color);
    
    /* Position relative so overlay can be positioned absolutely inside */
    position: relative;
}

/* ===== HERO OVERLAY ===== */
/* Dark semi-transparent overlay ensures text is readable over any background image */
.hero-overlay {
    /* Position absolute covers the entire hero section */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* Dark background with 60% opacity (rgba format: red, green, blue, alpha) */
    background-color: rgba(0, 0, 0, 0.6);
    
    /* Z-index 1 puts overlay between background and content */
    z-index: 1;
}

/* ===== HERO CONTENT ===== */
/* Text positioned above the overlay using z-index */
.hero-content {
    /* Z-index 2 puts content above overlay so it's visible */
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* ===== Main Content ===== */
main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    padding: 3rem 2rem;
}

.light-bg {
    background-color: var(--bg-light);
}

.content-section h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
}

.content-section li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Cards Layout ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(94, 114, 228, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card p {
    color: var(--text-light);
    margin: 0;
}

/* ===== Action Cards ===== */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.action-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.action-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.action-card p {
    margin: 0;
    font-size: 1rem;
}

/* ===== Info Lists ===== */
.info-list {
    list-style: none;
    margin-left: 0;
}

.info-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.info-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.inline-list {
    list-style: none;
    margin-left: 0;
    margin-top: 1rem;
}

.inline-list li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.inline-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== Alert & Highlight Boxes ===== */
.alert-box {
    background-color: #fff3cd;
    border-left: 5px solid #ff9800;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.alert-box p {
    color: #333;
    margin-bottom: 0.8rem;
}

.alert-box strong {
    color: var(--danger-color);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(155, 109, 212, 0.1) 100%);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.highlight-box p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.highlight-box strong {
    color: var(--primary-dark);
}

/* ===== Steps Layout ===== */
.steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 2rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    margin: 0;
    color: var(--text-light);
}

/* ===== Sign Categories (for warnings page) ===== */
.sign-category {
    background: var(--bg-white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.sign-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.sign-list {
    list-style: none;
    margin-left: 0;
}

.sign-list li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-light);
}

.sign-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* ===== Safety Tips (for prevention page) ===== */
.safety-tip {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.safety-tip h3 {
    color: var(--danger-color);
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.safety-list {
    list-style: none;
    margin-left: 0;
}

.safety-list li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.6;
}

.safety-list li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

/* ===== Tactic Cards ===== */
.tactic-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--warning-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.tactic-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tactic-card p {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

/* ===== Help Resources ===== */
.help-resource {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--success-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.help-resource h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.help-resource p {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

/* ===== Emergency Box (for help page) ===== */
.emergency-box {
    background: #fff3cd;
    border: 3px solid var(--danger-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.hotline-highlight {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hotline-highlight h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.hotline-highlight p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== Main Resource ===== */
.main-resource {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.resource-highlight {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(94, 114, 228, 0.15);
}

.resource-highlight h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-method {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-method h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.highlight-text {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* ===== Resource Cards Grid ===== */
.resource-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-card,
.resource-box {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 5px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.resource-card h4,
.resource-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.resource-card p,
.resource-box p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Info Cards ===== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 5px solid var(--accent-color);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Resource Grid ===== */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* ===== Victim Support ===== */
.victim-support {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.victim-support h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.victim-support p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.victim-support strong {
    color: var(--primary-color);
}

/* ===== Guide Box ===== */
.guide-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    margin: 2rem 0;
}

.guide-box p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.example-dialog {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.example-dialog p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.example-dialog strong {
    color: var(--primary-color);
}

/* ===== Footer ===== */
footer {
    background: var(--text-dark);
    color: var(--bg-white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

footer p:last-child {
    margin-bottom: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    /* Show hamburger icon on mobile devices */
    .hamburger {
        display: flex;
    }

    /* Hide desktop menu on mobile */
    .nav-menu {
        display: none;
    }

    /* Mobile menu toggle (old, can be deprecated) */
    .menu-toggle {
        display: none;
    }

    .nav-container {
        padding: 1rem;
    }

    /* ===== MOBILE HERO SECTION ===== */
    .hero {
        /* On mobile, disable parallax effect (background-attachment: fixed) for better performance */
        background-attachment: scroll;
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }

    .cards,
    .action-cards,
    .info-cards {
        grid-template-columns: 1fr;
    }

    .step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .card,
    .sign-category,
    .tactic-card,
    .help-resource {
        padding: 1.5rem 1rem;
    }

    .hero {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 1.5rem 0.5rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    .card,
    .sign-category,
    .tactic-card {
        padding: 1rem;
    }

    .step {
        padding: 1rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    .contact-method {
        margin-bottom: 1.5rem;
    }

    .resource-highlight {
        padding: 1.5rem;
    }

    .highlight-text {
        font-size: 1.2rem;
    }
    
    /* ===== MOBILE HERO OPTIMIZATION ===== */
    /* On very small screens, reduce padding and overlay opacity for better performance */
    .hero {
        padding: 2.5rem 1rem;
        background-attachment: scroll;
    }
    
    /* Slightly reduce overlay opacity on mobile for better image visibility */
    .hero-overlay {
        background-color: rgba(0, 0, 0, 0.55);
    }
}

/* ===== Accessibility ===== */
a {
    color: var(--primary-color);
    text-decoration: underline;
}

button {
    font-family: inherit;
    font-size: 1rem;
}

input,
textarea {
    font-family: inherit;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .card,
    .sign-category,
    .tactic-card {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FLOATING CALL-TO-ACTION BUTTON ===== */
/* This button appears in the bottom right corner on all pages except the quiz page */
/* It has a smooth animation and hover effects */

.floating-cta-button {
    /* Position: fixed keeps it visible as you scroll */
    position: fixed;
    /* Bottom 2rem (32px) from bottom of screen */
    bottom: 2rem;
    /* Right 2rem (32px) from right side of screen */
    right: 2rem;
    /* Z-index puts it above other content */
    z-index: 999;
    
    /* Button appearance */
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--bg-white);
    border: none;
    border-radius: 50px; /* Rounded pill shape */
    padding: 1rem 1.2rem;
    cursor: pointer;
    
    /* Shadow effect */
    box-shadow: 0 6px 20px rgba(94, 114, 228, 0.3);
    
    /* Flexbox for aligning icon and text */
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    
    /* Initially show compact form with just icon */
    width: fit-content;
}

/* Icon styling inside the button */
.floating-cta-button .cta-icon {
    font-size: 1.4rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* Text styling inside the button */
.floating-cta-button .cta-text {
    display: none; /* Hidden by default */
    white-space: nowrap; /* Keep text on one line */
}

/* ===== HOVER STATE ===== */
/* When you hover over the button, it grows and shows the full text */
.floating-cta-button:hover {
    transform: scale(1.1); /* Grow 10% larger */
    box-shadow: 0 8px 30px rgba(94, 114, 228, 0.4); /* Larger shadow */
}

.floating-cta-button:hover .cta-icon {
    transform: rotate(-10deg) scale(1.15); /* Rotate and grow icon */
}

/* ===== EXPANDED STATE ===== */
/* Show full text on hover or when expanded class is added */
.floating-cta-button.expanded .cta-text {
    display: inline; /* Show the text */
}

.floating-cta-button.expanded {
    width: auto;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .floating-cta-button {
        /* Smaller button on tablets */
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    .floating-cta-button .cta-icon {
        font-size: 1.2rem;
    }
    
    /* Always show text on mobile */
    .floating-cta-button .cta-text {
        display: inline;
    }
    
    .floating-cta-button:hover {
        transform: scale(1.08); /* Smaller scale on mobile */
    }
}

@media (max-width: 480px) {
    .floating-cta-button {
        /* Even smaller on phones, positioned higher to avoid blocking content */
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .floating-cta-button .cta-icon {
        font-size: 1.1rem;
    }
    
    /* Reduce hover effect on mobile to prevent confusion */
    .floating-cta-button:active {
        transform: scale(0.95);
    }
}
