   @import url('https://fonts.googleapis.com/css2?family=Vend+Sans:ital,wght@0,300..700;1,300..700&display=swap');
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Vend Sans", sans-serif;
    }
    
    /* APA Background Colors */
.apa-bg-blue { background-color: #2E5A88; color: white; }
.apa-bg-light { background-color: #4F7CAE; color: white; }
.apa-bg-dark { background-color: #1E3A5F; color: white; }
.apa-bg-accent { background-color: #E03E3E; color: white; }
.apa-bg-green { background-color: #2E8B57; color: white; }

/* APA Text Colors */
.apa-text-blue { color: #2E5A88; }
.apa-text-light { color: #4F7CAE; }
.apa-text-dark { color: #1E3A5F; }
.apa-text-accent { color: #E03E3E; }
.apa-text-green { color: #2E8B57; }

/* APA Border Colors */
.apa-border-blue { border: 2px solid #2E5A88; }
.apa-border-light { border: 2px solid #4F7CAE; }
.apa-border-dark { border: 2px solid #1E3A5F; }
.apa-border-accent { border: 2px solid #E03E3E; }
.apa-border-green { border: 2px solid #2E8B57; }

    
    body {
        background-color: #f8fafc;
        color: #334155;
        line-height: 1.6;
        overflow-x: hidden;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Minimal Navbar */
    .navbar {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        padding: 15px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .logo {
        font-size: 24px;
        font-weight: 700;
        display: flex;
        align-items: center;
    }
    
    .logo span:first-child {
        color: #1e293b;
    }
    
    .logo span:last-child {
        color: #2563eb;
    }
    
    .nav-links {
        display: flex;
        gap: 25px;
        align-items: center;
    }
    
    .nav-links a {
        color: #64748b;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
        font-size: 15px;
    }
    
    .nav-links a:hover {
        color: #2563eb;
    }
    
    .nav-btn {
        background-color: #2563eb;
        color: white;
        padding: 8px 18px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
        font-size: 14px;
    }
    
    .nav-btn:hover {
        background-color: #1d4ed8;
    }
    
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        font-size: 24px;
        color: #1e293b;
        cursor: pointer;
    }
    
    /* Side Slider Navigation */
    .side-slider {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: right 0.3s ease;
        padding: 60px 20px 20px;
        overflow-y: auto;
    }
    
    .side-slider.open {
        right: 0;
    }
    
    .slider-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: #64748b;
        cursor: pointer;
    }
    
    .slider-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .slider-links a {
        color: #334155;
        text-decoration: none;
        font-weight: 500;
        padding: 12px 15px;
        border-radius: 6px;
        transition: all 0.3s;
    }
    
    .slider-links a:hover {
        background: #f1f5f9;
        color: #2563eb;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero Section */
    .hero {
        text-align: center;
        padding: 80px 0 40px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
        color: #1e293b;
        font-weight: 800;
    }
    
    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 40px;
        color: #64748b;
    }
    
    .hero-btns {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
        flex-wrap: wrap;
    }
    
    .primary-btn {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        color: white;
        padding: 12px 30px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
        display: inline-block;
    }
    
    .primary-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    }
    
    .secondary-btn {
        background-color: white;
        color: #2563eb;
        border: 2px solid #2563eb;
        padding: 12px 30px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s;
        display: inline-block;
    }
    
    .secondary-btn:hover {
        background-color: #dbeafe;
    }
    
    /* Tool Section */
    .tool-section {
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        padding: 40px;
        margin: 40px 0;
    }
    
    .tool-title {
        font-size: 1.8rem;
        color: #1e293b;
        margin-bottom: 30px;
        text-align: center;
        font-weight: 700;
    }
    
    .converter {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    @media (min-width: 768px) {
        .converter {
            grid-template-columns: 1fr 1fr;
        }
    }
    
    .input-section, .output-section {
        display: flex;
        flex-direction: column;
    }
    
    textarea {
        width: 100%;
        height: 200px;
        padding: 20px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        resize: vertical;
        font-size: 16px;
        transition: border-color 0.3s;
    }
    
    textarea:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    }
    
    .conversion-btns {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
        margin: 20px 0;
    }
    
    .conv-btn {
        background-color: #f1f5f9;
        border: none;
        padding: 12px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 14px;
    }
    
    .conv-btn:hover {
        background-color: #2563eb;
        color: white;
    }
    
    .action-btns {
        display: flex;
        gap: 12px;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    
    .action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 14px;
    }
    
    .copy-btn {
        background-color: #10b981;
        color: white;
    }
    
    .copy-btn:hover {
        background-color: #059669;
    }
    
    .download-btn {
        background-color: #3b82f6;
        color: white;
    }
    
    .download-btn:hover {
        background-color: #2563eb;
    }
    
    .clear-btn {
        background-color: #ef4444;
        color: white;
    }
    
    .clear-btn:hover {
        background-color: #dc2626;
    }
    
    /* Tools Grid */
    .tools-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin: 60px 0;
    }
    
    .tool-card {
        background-color: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
        transition: transform 0.3s;
    }
    
    .tool-card:hover {
        transform: translateY(-5px);
    }
    
    .tool-card-icon {
        background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        color: white;
    }
    
    .tool-card-content {
        padding: 25px;
    }
    
    .tool-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: #1e293b;
    }
    
    .tool-card p {
        color: #64748b;
        margin-bottom: 20px;
    }
    
    .tool-card-link {
        display: inline-flex;
        align-items: center;
        color: #2563eb;
        font-weight: 600;
        text-decoration: none;
    }
    
    .tool-card-link i {
        margin-left: 8px;
        transition: transform 0.3s;
    }
    
    .tool-card-link:hover i {
        transform: translateX(4px);
    }
    
    /* Footer */
    footer {
        background-color: #1e293b;
        color: white;
        padding: 60px 0 30px;
        margin-top: 60px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }
    
    .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
        color: #93c5fd;
    }
    
    .footer-column ul {
        list-style: none;
    }
    
    .footer-column ul li {
        margin-bottom: 12px;
    }
    
    .footer-column a {
        color: #cbd5e1;
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .footer-column a:hover {
        color: white;
    }
    
    .social-links {
        display: flex;
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: #334155;
        border-radius: 50%;
        color: white;
        transition: background-color 0.3s;
    }
    
    .social-links a:hover {
        background-color: #2563eb;
    }
    
    .copyright {
        text-align: center;
        margin-top: 50px;
        padding-top: 20px;
        border-top: 1px solid #334155;
        color: #94a3b8;
    }
    
    /* Notification */
    .notification {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 15px 25px;
        background-color: #10b981;
        color: white;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transform: translateY(-100px);
        opacity: 0;
        transition: all 0.3s;
        z-index: 1000;
    }
    
    .notification.show {
        transform: translateY(0);
        opacity: 1;
    }
    
    /* Responsive Design */
    @media (max-width: 1024px) {
        .hero h1 {
            font-size: 2.4rem;
        }
        
        .nav-links {
            display: none;
        }
        
        .menu-toggle {
            display: block;
        }
    }
    
    @media (max-width: 768px) {
        .hero h1 {
            font-size: 2rem;
        }
        
        .hero p {
            font-size: 1rem;
        }
        
        .hero-btns {
            flex-direction: column;
            align-items: center;
        }
        
        .primary-btn, .secondary-btn {
            width: 100%;
            text-align: center;
        }
        
        .conversion-btns {
            grid-template-columns: 1fr 1fr;
        }
        
        .tool-section {
            padding: 25px;
        }
        
        .tool-title {
            font-size: 1.5rem;
        }
        
        .action-btns {
            flex-direction: column;
        }
        
        .action-btn {
            width: 100%;
        }
    }
    
    @media (max-width: 480px) {
        .hero h1 {
            font-size: 1.8rem;
        }
        
        .conversion-btns {
            grid-template-columns: 1fr;
        }
        
        .tool-section {
            padding: 20px 15px;
        }
        
        textarea {
            height: 150px;
            padding: 15px;
        }
    }
    
      @keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .animate-fade-in {
    animation: fade-in 1s ease-out forwards;
  }
  
        .input-field {
            transition: all 0.3s ease;
        }
        .input-field:focus {
            box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.2);
        }
        .floating-btn {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        .floating-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        }
        .generate-btn {
            background: linear-gradient(135deg, #2E8B57 0%, #3CB371 100%);
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(46, 139, 87, 0.3);
        }
        .generate-btn:hover {
            background: linear-gradient(135deg, #267349 0%, #2E8B57 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(46, 139, 87, 0.4);
        }
        .citation-entry {
            transition: all 0.3s ease;
        }
        .citation-entry:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        #entries {
            max-height: 24rem;
            overflow-y: auto;
        }
        #entries::-webkit-scrollbar {
            width: 6px;
        }
        #entries::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        #entries::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 10px;
        }
        #entries::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }
        
        
                .input-field:focus, .select-field:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
        }
        
        .tooltip {
            position: relative;
        }
        
        .tooltip:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            padding: 4px 8px;
            background: #1f2937;
            color: white;
            border-radius: 4px;
            font-size: 12px;
            white-space: nowrap;
            margin-bottom: 5px;
        }
        
        .fade-in {
            animation: fadeIn 0.3s ease-in-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }